keeping ultracombobox sync'd with external textboxes

Posted on 2009-02-11
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
    LVL 83

    Expert Comment

    How do you populate the textboxes? Do you use the selectedvalue property?

    Author Comment


    Author Comment

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

    Accepted Solution

    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

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project ( automates most of the tasks discussed in this article. You can even fin…
    Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
    The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
    The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now