how to set multiple items in radComboBox with checkboxes

4 posts, 0 answers
  1. lan luo
    lan luo avatar
    36 posts
    Member since:
    May 2010

    Posted 06 Jul 2012 Link to this post

    Hi,

    I created a RadComboBox with checkboxes control. When I load page, it will bind data from db also pre-select some items. I tried the item.selected = true only works for single selection ( without checkboxes ). Is there any way to make multiple selections in the ComboBox with checkboxes?

    Thanks,

    Lan
  2. Jayesh Goyani
    Jayesh Goyani avatar
    2732 posts
    Member since:
    May 2010

    Posted 08 Jul 2012 Link to this post

    Hello,

    Please try with below code snippet.
    item.Checked = true;

    Thanks,
    Jayesh Goyani
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Sharon
    Sharon avatar
    1 posts
    Member since:
    May 2015

    Posted 07 Oct in reply to Jayesh Goyani Link to this post

    I have a problem open edit page in radgrid.  It constantly gives me out of range error message.

    I did set e.Item.Checked = true, but since ((RadComboBox)e.Item.Parent).SelectedValue is still a string with mulitple select separated by commas.

    Do you have any idea of what to do?

  5. Jayesh Goyani
    Jayesh Goyani avatar
    2732 posts
    Member since:
    May 2010

    Posted 08 Oct in reply to Sharon Link to this post

    Hello,

    could you please provide grid's mark up (aspx) page code?

    thanks, jayesh goyani

Back to Top