Selected Index Change

2 posts, 0 answers
  1. Alexandre
    Alexandre avatar
    26 posts
    Member since:
    Feb 2008

    Posted 17 Apr 2008 Link to this post

    Hi , i'm just doing a program with the rad combox and i can't with de selected index change event use the selected value. How can I do this.

    Thanks for your help

  2. Nikolay
    Nikolay avatar
    1802 posts

    Posted 21 Apr 2008 Link to this post

    Hello Alexandre,

    If your scenario concerns unbound mode, you should set the Value property for each RadComboBoxItem that you add to the RadComboBox.Items collection. Then, you will be able to get the value in the SelectedIndexChanged event handler. I have demonstrated this in the sample project attached.

    Regarding the bound mode, when you set the DataSource, you should also set the DisplayMember and ValueMember properties.

    If you need additional assistance, do not hesitate to contact me.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft banner
Back to Top