Setting SelectedValue not working

2 posts, 0 answers
  1. Matt
    Matt avatar
    66 posts
    Member since:
    Apr 2009

    Posted 26 Feb 2010 Link to this post

    ddlRoles.SelectedValue = "User"

    Trying to set the value of a RadComboBox(ddlRoles).  The value exists in the combo box, but it is not being selected.  Is this a known issue at all?
  2. Matt
    Matt avatar
    66 posts
    Member since:
    Apr 2009

    Posted 26 Feb 2010 Link to this post

    I figured it out.  When I dynamically created the items in the combobox I only did New RadComboBoxItem(value).  I needed to do New RadComboBoxItem(value, value).  It doesn't default the value to the item name like it does in the regular textbox control.
Back to Top