views:

23

answers:

1

I have created the usercontrol. There is event :

public event System.EventHandler MemberSelectionChanged; 

I have called this event in aspx page like this(given below). It working fine. Is there any other way to call the user control event in aspx page.

this.ucMemberList.MemberSelectionChanged += new EventHandler(MemberList_MemberSelectionChanged);
A: 

Shalni, if under "calling" you mean assigning handler to an event, so you did it right way. Not aware of other ways.

Taras B