This is a migrated thread and some comments may be shown as answers.

RadComboBox SelectedIndex Issue

1 Answer 92 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
john
Top achievements
Rank 1
john asked on 31 Mar 2011, 03:19 AM
Hi,

I am using RadComboBox in my page.Whenever you select the first item in combo box, selected index becomes -1.
(For example, If am having 10 elements in combobox,by default 1st item is selected, when you click on drop down and and again select the first item,while accessing the selected index from the server side -1 is coming).

Because of this am not able to select the selected value and selected text.
(Binding the RadComboBox from the database)

After doing the same thing, I tried to access the selected value from the client side in OnDropdownClosed event, Selected value and Text is coming.But it is not coming from the server side.


Thanks,
John

1 Answer, 1 is accepted

Sort by
0
Accepted
Badri
Top achievements
Rank 1
answered on 06 May 2011, 03:14 AM
Hi John,

   Try removing the property MarkFirstMatch of combobox and try it.
This error was coming in older version.

This error was not there in Latest Version.

Thanks,
Badri
Tags
General Discussions
Asked by
john
Top achievements
Rank 1
Answers by
Badri
Top achievements
Rank 1
Share this question
or