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
4165
UltraComboEditor - How to Set SelectedItem?
posted

Currently I am using this to set a the selected item of a UltraComboEdtior:

 

for

 

(Int32 i = 0; i < uceUserApprSys.ValueList.ValueListItems.Count; i++)

if (uceUserApprSys.ValueList.ValueListItems[i].DisplayText == SQLReader.GetString(18))

uceUserApprSys.SelectedItem = uceUserApprSys.ValueList.ValueListItems[i];

--

There must be an easier way? The UltraComboEditor is set as a drop down list....

Thanks.