Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
Today when I started working with .net, I created a new project file and noticed that when I double clicked on a button the code behind page would come up, but the event would not be there. So I wrote it out myself, only to find out that the event "click" was not recognized. Any ideas how to get the events back? Thanks!
Posted
Today when I started working with .net' date=' I created a new project file and noticed that when I double clicked on a button the code behind page would come up, but the event would not be there. So I wrote it out myself, only to find out that the event "click" was not recognized. Any ideas how to get the events back? Thanks![/quote']

 

Click on the control and in the property window should be a little lightning symbol. Click this tab and it reveals all the events for the control. Add the name for the method to control the the events here.

 

Hope this helps.

  • *Experts*
Posted

I assume this is ASP.NET? If so, make sure you're using the right type of button.

 

-Ner

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...