Hi All,
I am having a Checbox list as below. When the checkboxes checked, I need to prompt a login dialog box . User need to enter their username and password. How can i get onclick event for every listitem in CheckBoxList. I try to
put onclick on each listitem, but fail.
<asp:CheckBoxList ID="chkSubject" runat="server" Height="20px" AutoPostBack="True"
RepeatDirection="Horizontal" Width="297px">
<asp:ListItem Value="SubjectA" onclick = "OpenDialog()" >A</asp:ListItem>
<asp:ListItem Value="SubjectB" OnClick = "OpenDialog()">B</asp:ListItem>
<asp:ListItem Value="SubjectC" OnClick = "OpenDialog()">C</asp:ListItem>
</asp:CheckBoxList>
Go to the complete details ...