Hello,
I want to use an HTML radio button instead of an ASP one.
This choice because there are an onclick() and onserverclick() events,I want to call a Javascript function and execute VB code.
input id="rblChoice1" onclick="showHideTable('Table1','Table2');" type="radio" value="rblChoice1" name="RadioGroup" runat="server" onserverclick="rblChoice1_ServerClick">Choice1<br>
<input id="rblChoice2" onclick="showHideTable('Table2','Table1');" type="radio" value="rblChoice2" name="RadioGroup" runat="server" onserverclick="rblChoice2_ServerClick">Choice2
My problem is that on code-behind, I cannot find the onserverclick event, but ONLY a onserverchange !!
Private Sub rblChoice1_ServerChange(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rblChoice1.ServerChange
End Sub
How can I solve this problem ?
I want to use an HTML radio button instead of an ASP one.
This choice because there are an onclick() and onserverclick() events,I want to call a Javascript function and execute VB code.
input id="rblChoice1" onclick="showHideTable('Table1','Table2');" type="radio" value="rblChoice1" name="RadioGroup" runat="server" onserverclick="rblChoice1_ServerClick">Choice1<br>
<input id="rblChoice2" onclick="showHideTable('Table2','Table1');" type="radio" value="rblChoice2" name="RadioGroup" runat="server" onserverclick="rblChoice2_ServerClick">Choice2
My problem is that on code-behind, I cannot find the onserverclick event, but ONLY a onserverchange !!
Private Sub rblChoice1_ServerChange(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles rblChoice1.ServerChange
End Sub
How can I solve this problem ?