Hi all,
I am trying to fire one event out of two avalible events based on a check box selectoin, I have already registered the two events in the page_load() and i check if the check box is checked (checkbox is located within a gridview) then i un-register one of the events and just keep one events registered as following(Only relative part is shown):
protected void Page_Load(object sender, EventArgs e)
{
Button_SessionStartOrEnd.Click += new EventHandler(this.Button_SessionStartOrEnd_Click_EndSession);
Button_SessionStartOrEnd.Click += new EventHandler(this.Button_SessionStartOrEnd_Click_StartSession);
}
protected void GridView_SessionHistory_SelectedIndexChanged(object sender, EventArgs e)
{
Label_SessionLiveError.Text = "";
Label_SessionStartOrEnd.Text = "";
Panel_QuestionInfo.Vi ...
Go to the complete details ...