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
275
Using UltraValidator with UltraCombo control to check value in list
posted

Hi,

I am trying top use the UltraValidator with an UltraCombo control to check if the displayed text matches an item in the dropdown list. I created the condition using this code:

            ultraValidator.GetValidationSettings(ultraComboTreatmentPlant).Condition =
                new ContainedInListCondition(ultraComboTreatmentPlant.Rows.ToList(), ListItemMatchMode.DisplayText);

This doesn't work. What to I need to do to get this working?