locked
checkboxlist inside dropdownlist RRS feed

  • Question

  • User-1136062158 posted

     Hi! Is there a good control i can use that's a dropdown and the user can select multiple checkboxes..I also would like to use this for both server side I want to populate names of cities and do server side code and also do some javascript code..so, i has to work for both server side and client side.. or if any one has an idea or concept on how to do this from scratch, I would appreciate that.

    Thanks!

    Friday, September 18, 2009 6:22 PM

Answers

  • User-821857111 posted

    CheckBoxLists cannot be put inside DropDownLists.  If you want something that looks like that, you will have to mess around with a whole lot of javascript and CSS to give the appearance of a DropDownList.  One way is to have a div slide out from a Textbox that contains your CheckBoxList.

    This article on a combobox should give you a starting point: http://www.codeproject.com/KB/custom-controls/combobox.aspx


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, September 19, 2009 2:50 AM

All replies

  • User-821857111 posted

    CheckBoxLists cannot be put inside DropDownLists.  If you want something that looks like that, you will have to mess around with a whole lot of javascript and CSS to give the appearance of a DropDownList.  One way is to have a div slide out from a Textbox that contains your CheckBoxList.

    This article on a combobox should give you a starting point: http://www.codeproject.com/KB/custom-controls/combobox.aspx


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, September 19, 2009 2:50 AM
  • User1992938117 posted

    Best idea is that u can visit this link


    http://www.easylistbox.com/home.aspx


    Good enough as u want...

    Mark if problem resolved........

    Thanks

    Saturday, September 19, 2009 2:57 AM