[Last Call] Learn how to a build a cloud-first strategyRegister Now


keeping ultracombobox sync'd with external textboxes

Posted on 2009-02-11
Medium Priority
Last Modified: 2013-11-15
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?
Question by:kikimayhay
  • 2
  • 2
LVL 83

Expert Comment

ID: 23620532
How do you populate the textboxes? Do you use the selectedvalue property?

Author Comment

ID: 23622139

Author Comment

ID: 23660867
I use the selected value to connect with a dataset
LVL 83

Accepted Solution

CodeCruiser earned 2000 total points
ID: 23661071
I think the best bet is to repopulate the textboxes after sorting the combobox. Another way is to select the same item again after sorting which was previously selected.

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand column That will then direct you to their download page. From that p…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question