Multi-Select ComboBox inside a RadGrid NestedViewTemplate

2 posts, 0 answers
  1. Patrick
    Patrick avatar
    1 posts
    Member since:
    May 2013

    Posted 04 Mar 2015 Link to this post

    I have a RadGrid that is populated by a SqlDataSource object.  I populate the ListItems of a ComboBox and Multi-Select ComboBox control inside the RadGrid's NestedViewTemplate using two other SqlDataSource objects.  The SelectedValue of the single select ComboBox is easy to set.  What is the most efficient means of setting the SelectedValue of the appropriate ListItems in the Multi-Select ComboBox?

  2. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 09 Mar 2015 Link to this post

    Hello Patrick,

    In order to set the selected items in a CheckBox scenario, you should use the Checked property of an item. For example you can use the FindItemByText/Value and set the Checked property of the item to true.

    Regards,
    Nencho
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top