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

Multicolumn RadComboBox losing the scope of selected index item when you revisit the selection item

2 Answers 65 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
NR
Top achievements
Rank 1
NR asked on 07 Jan 2015, 12:19 PM


http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multicolumncombo/defaultcs.aspx

 

Please find the attached screenshot.

I just followed the same code for implementation, but the
chosen value get changing to the first item ‘Ana Trujillo’.

The above scenario only happening whenever exist the
duplicate values of ‘Title column‘.

 

Ex: In my scenario ItemDataBound event
Text is ContactName and Value is Title.

The ComboBox data binding happens only once on page load
in page life cycle.

 

The failure case at the movement is considering the
selection item get changes the item to first instance of the duplication of the
‘Title’ column.

Any help please.

2 Answers, 1 is accepted

Sort by
0
NR
Top achievements
Rank 1
answered on 07 Jan 2015, 12:31 PM
The wrong selection happening either you revisit to see the selected item or any click event action outside combo box.

0
Nencho
Telerik team
answered on 12 Jan 2015, 09:29 AM
Hello,

This is an experienced behavior, as on blur or postback the RadComboBox searches for the first Item with the selected value and selects it. In your case, it finds the first item and sets it as selected, regardless of the performed user interaction. This is described in the following documentation article :

http://www.telerik.com/help/aspnet-ajax/combobox-selects-different-item.html

Regards,
Nencho
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ComboBox
Asked by
NR
Top achievements
Rank 1
Answers by
NR
Top achievements
Rank 1
Nencho
Telerik team
Share this question
or