hello,
i am trying to create a request form using asp.net where when a user selects a checkbox, a dropdown should appear dynamically. I have seen few java-scripts in web, but I was wondering if I can achieve this without java-script.
I tried to make the control invisible(<asp: DropDownList ID="DropDownLis t1" runat="server" AppendDataBound Items="True" Visible="False">) and in the onselectedindex changed event, tried to make the invisible property to true. But it did not help me.
Also, I was trying to use postback for the page when a checkbox is selected(asp:Ch eckBoxList ID="chckbx" runat="server" AutoPostBack="t rue" onselectedindex changed="chckbx _SelectedIndexC hanged") and it throws me an error in IE saying the object does not support this property.
Can somebody please help me with this. Thanks in advance.
i am trying to create a request form using asp.net where when a user selects a checkbox, a dropdown should appear dynamically. I have seen few java-scripts in web, but I was wondering if I can achieve this without java-script.
I tried to make the control invisible(<asp: DropDownList ID="DropDownLis t1" runat="server" AppendDataBound Items="True" Visible="False">) and in the onselectedindex changed event, tried to make the invisible property to true. But it did not help me.
Also, I was trying to use postback for the page when a checkbox is selected(asp:Ch eckBoxList ID="chckbx" runat="server" AutoPostBack="t rue" onselectedindex changed="chckbx _SelectedIndexC hanged") and it throws me an error in IE saying the object does not support this property.
Can somebody please help me with this. Thanks in advance.
Comment