Link to home
Start Free TrialLog in
Avatar of kpbarem
kpbarem

asked on

How to generate events in c#

This is definitely a beginner question, but I was hoping someone could explain this to me since i'm used to working with VB.  In VB viewing the different events for a page or a user control is easy to do.  You can select the control in the top left rectangle of the IDE and see a list of its associated events in the top right rectangle of the IDE.

In c# you can't do that.  You also can't see a list of events associated with it in the properties window as far as I can tell.  If you double click the control in designer mode you will generate the method signature for its default event but nothing else.

I am trying to make the RowCreated event for a grid view in C#.  Is there a way to generate a method signature for this event?
SOLUTION
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Select the GridView.  Now hit the "Lightning Bolt" icon in the Properties Pane to see a list of events for it.  Scroll down to the "RowCreated" entry and double click to the right.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kpbarem
kpbarem

ASKER

Thanks everyone for your help.  Unfortunatley the lightning bolt method is one that I attempted before and I couldn't seem to get it to work.  But thanks!