Programmatically, the Check box related to "SelectedValue" is not checked properly

2 posts, 0 answers
  1. Ahmed
    Ahmed avatar
    29 posts
    Member since:
    Dec 2015

    Posted 19 Mar 2017 Link to this post


    When I set "SelectedValue" programmatically, the Check box related to this selected value is not checked properly.

    I want to select item and make it checked PROGRAMMATICALLY

    Note: The radCheckedDropDownList is data Binding with datasource

  2. Dimitar
    Dimitar avatar
    2114 posts

    Posted 20 Mar 2017 Link to this post

    Hello Ahmed,

    First, you need to set the ValueMember property to a specific field in your data object. Then use a valid value that exists in the data source to set the SelectedValue.
    You can directly set the text as well: 
    radCheckedDropDownList1.Text = "CheckedItem 1;CheckedItem 4;";

    I hope this will be useful. Let me know if you have additional questions.

    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top