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

[Solved] RadCombox SelectedChanged Event does not fire if the SelectedValue is same.

2 Answers 104 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Raghavendra
Top achievements
Rank 1
Raghavendra asked on 24 Jun 2009, 05:24 PM
Hi,
I am using the new version of Telerik RadCombox (2009-Telerik.Web.UI) in my application.
I have the list of values and their respective description populated in RadCombox.
Everything works fine but the issue is I also have the same values in my list.

eg:RadComboBoxItem

 

( "A","01")
    RadComboBoxItem( "B","01")    
    RadComboBoxItem( "C","12")
    RadComboBoxItem( "C","13")
So when I change the selected Item from Item1 to Item 2 where the Value is same in the RadCombox the Selected Index Changed event does not fire. It works fine for the item which have different values.

I did not have this problem in the earlier version.

Thank you,
Raghavendra.

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 25 Jun 2009, 07:36 AM
Hi Raghavendra,

I tried the same scenario on my end but in may case even though the SelectedIndexChanged event is getting fired the Selected text is always defaulted back to the First item. I have also found in a couple of forum post that the items must have different/unique Value property.

Thanks
Shinu
0
Raghavendra
Top achievements
Rank 1
answered on 29 Jun 2009, 06:11 PM
Hi Shinu,

In fact same with me too. But I found this behaviour with ASP.Net DropdownList and I used the previous version of RadComboBox, it worked. But with the new Telerik RadComboBox for ASP.Net AJAX it does not work.

I am using another logic to keep the values unique. It maintains the same selectedIndex if the values are same.

Raghavendra.
Tags
ComboBox
Asked by
Raghavendra
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Raghavendra
Top achievements
Rank 1
Share this question
or