dropdownlist with a checkbox inside
Hello Everyone, I am first time in c# asp.net developing a web system with regards to registration..is it posible to have a dropdownlist which has a checkbox inside that will populate the value from a database and once the user checked all it can get the multiple value from the selection.. then will pass the parameter from another dropdownlist? anyone can you help us on this Thank you so much..

mary jean ligasPosted Sep 28, 2012, 4:26 AM
mary jean ligasPosted Sep 28, 2012, 4:17 AM
Alok UniyalPosted Sep 28, 2012, 3:40 AM
1. Take a Javascript Dropdown
2. Take a div with style hight:50px and overflow:auto;display:none;
3. Take a asp:checkboxlist inside that div.
4. Bind CheckBox list.
4. Add OnClick javascript function in that Dropdwn. Make a function to display the div.
5. You have to use a jquery function for if user click outside the div.
mary jean ligasPosted Sep 28, 2012, 3:29 AM
Satyapriya NayakPosted Sep 28, 2012, 3:18 AM
Please refer the below links
http://www.codeproject.com/Articles/66572/A-Multiple-Selection-DropDownList-a-CheckBoxList-I
http://www.codeproject.com/Articles/11987/DropDownCheckList-ASP-NET-Server-Control
http://www.dotnetspeaks.com/DisplayArticle.aspx?ID=63
Thanks