Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
555
.Value property returns DisplayMember instead of ValueMember now in 10.3
posted

Hi,

I've got a project that we just updated to Infragistics 10.3 CLR4 (from 10.2 CLR3.5) and it seems to have caused a break in what the UltraComboEditor percieves as its value.

Prior to updating the following code would work fine (as in return the "ServiceID" as the value of the selected item):

// we get a List of ServiceStruct objects to serve as the combo's datasource
List<ServiceStruct> all_services = StudyController.Instance.SearchServices(String.Empty, 1, 2, false);

// we then set the combo with data

cboStudyType.DataSource = all_services;
cboStudyType.DisplayMember = "ServiceCodeWithName";
 cboStudyType.ValueMember = "ServiceID";

Now, what's happening (since updating) is that when I go cboStudyType.Value i get the DisplayMember instead of the ValueMember.

Any ideas? I've been searching for this for a little while now and can't find the exact same issue I'm experiencing.

Thanks,

Andrew

  • 469350
    Offline posted

    Hi Andrew,

    Off the top of my head, I'm not aware of any issues like this. Are you using the latest service release of v10.3?

    It's possible that you may have had a service release in 10.2 and then updated to a version of 10.3 which is missing a fix you already had. So you might want to try getting the service release.

    How to get the latest service release - Infragistics Community

    If that does not help, can you reproduce the issue in a small sample project and post it here?

    Or see if it happens in any of our samples so we can see what's going on?