I have a ultra combo box that has a datasource which is a collection of objects. The Valuemember is "ColorID" and the displaymember is "Name". When the form opens I always want the ultracombo to display the row with the "ColorID" of 26. What's the best way to accomplish this? I don't want to loop through all of the rows looking for the value member, i'd like to find the Infragistics equivalent of:
ColorsCombo.SelectedValue = 26
to put in my form load event.
When I have a UltraCombo in a UltraWinGrid cell, setting the .Value changes the display to that value instead of the text value in the dropdown.
For example, the dropdown text is "Default", the key value is 123, I set the .Value property to 123, and the dropdown displays cell didplays 123, instead of "Default"
Thanks
Because it needs to be consistent with all of the other editor controls - they all use Value.
For consistencies sake, why isn't it SelectedValue and not just value.
See, I came across the same thing. Geesh!
Thanks. I'm not sure how I missed that... I guess I was stuck trying to mess with ActiveRow.
Set the ultraCombo.Value = 26