0

I have Visual Studio 2010. I learned that for creating event handlers we have to go to the code-behind page and then we have to select the event from the drop down list, but I am not able to select events other than page load.

How do I fix this?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Prakash N
  • 1,020
  • 1
  • 8
  • 20

1 Answers1

1

Screen prints/existing code would help...

But in the meantime, showing all event handlers appears to be a VB only feature. See here. Could it be that you have not yet defined objects for those event handlers to act on?

Alternatively, it may just be a C# thing. You may view events available to particular controls in the object's Properties window in the Form layout view.

Community
  • 1
  • 1
MTAdmin
  • 1,023
  • 3
  • 17
  • 36