I was Having two Controls in the Sender one dropdown list and other is a Radio Button List
the Access the object Sender
if (sender is DropDownList)
hiddenSelectedOptionID.Value = ddlOptions.SelectedValue;
if (sender is RadioButtonList)
hiddenSelectedOptionID.Value = rblTypes.SelectedValue;
No comments:
Post a Comment