ramrocket
asked on
Checkbox in a repeater not firing event
I have a checkbox in a repeater. I need it to call my event handler in the code when the user clicks on it.
I tried onlick & onserverclick events with no luck.
<input type="checkbox" id="chkBox1" runat="server" onclick="OnClickCheckBox"
event handler:
protected void OnClickCheckBox(object oSender, EventArgs oEventArgs)
{
int x=0; << does not go here!
}
I tried onlick & onserverclick events with no luck.
<input type="checkbox" id="chkBox1" runat="server" onclick="OnClickCheckBox"
event handler:
protected void OnClickCheckBox(object oSender, EventArgs oEventArgs)
{
int x=0; << does not go here!
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
i think if you want to handle the event, use javascript..