radcombobox selectedvalue problem

Thread is closed for posting
4 posts, 0 answers
  1. murat2912
    murat2912 avatar
    8 posts
    Member since:
    Mar 2007

    Posted 28 May 2007 Link to this post

    i have a radcombobox which i set items design time.when i want to select an item by value it does not work.

    my code : 

    cmbCallerType.SelectedValue = 1;

    how can i select a combobox item by its value.please help.


  2. Georgi
    Georgi avatar
    212 posts

    Posted 28 May 2007 Link to this post

    Hi murat2912,

    The SelectedValue property could only be used if you have a data source and the ValueMember property is set. If you add items to the Items collection at design-time, take a look at the following article on how to select an item: http://www.telerik.com/support/kb/article/b454K-tma-b454T-ckk-b454c-ckk.aspx

    If you have any further questions, do not hesitate to write back.

    All the best,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Ramzan Pukhraj
    Ramzan Pukhraj avatar
    7 posts
    Member since:
    Dec 2009

    Posted 19 Mar 2010 Link to this post

    Please active above link I am facing same issue
  4. Victor
    Victor avatar
    1358 posts

    Posted 24 Mar 2010 Link to this post

    Hello Ramzan Pukhraj,

    If you are not using data binding you cannot use the SelectedValue property. You must use SelectedIndex.

    Note: the link is not active any more, because the information from the KB article has been moved to the documentation.

    Best wishes,
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top