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..


Satyapriya NayakRank #47 · 31.5K reputationPosted Sep 27, 2012, 11:18 PM EDT
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
mary jean ligasRank #3,676 · 400 reputationPosted Sep 27, 2012, 11:29 PM EDT
Alok UniyalRank #8,369 · 223 reputationPosted Sep 27, 2012, 11:40 PM EDT
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 ligasRank #3,676 · 400 reputationPosted Sep 28, 2012, 12:17 AM EDT
mary jean ligasRank #3,676 · 400 reputationPosted Sep 28, 2012, 12:26 AM EDT