Link to home
Start Free TrialLog in
Avatar of kikimayhay
kikimayhayFlag for United States of America

asked on

keeping ultracombobox sync'd with external textboxes

I have an infragistics ultra combo box (multi-column combobox) that we use to select patients.  Once the patient is selected information is populated into the text boxes for possible editing. The ultracombo has all the information that is displayed in the text boxes. For simplification let's say I have a patient with a patientid, patientLastName, and PatientFirstname. The combobox would show the patients lastname and fiirstname with appropriate headers (patientid would be hidden).

The issue I am having is if I sort the combo box (by user interaction during runtime) by another column the indexing seems to get thrown out of whack. If I sort by firstname the combo box will sort accordingly however the text box will no longer match what is selected in the combobox.

Would I have to rebind to the datasource in order for this to work, or is it something else?
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

How do you populate the textboxes? Do you use the selectedvalue property?
Avatar of kikimayhay

ASKER

Correct
I use the selected value to connect with a dataset
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial