Friday, September 11, 2015

Find the value (not the displayed text) of a particular item at a DevExpress ASPxComboBox, by matching against a string, and then make that item the selected item.

string whatever = "whatever";
MyList.Items.FindByValue(whatever).Selected = true;

No comments:

Post a Comment