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
30
How to validate an ultra combo editor using an ultra validator tool?
posted

I need help in validating an ultra combo editor using an ultra validator tool. I need to validate if the combo editor selected value is not among the listed items. Please help.

  • 1500
    Offline posted

    Hello,

    Checking if the displayed value is amongst a value list can be done using the following condition:

                this.ultraValidator1.GetValidationSettings(this.ultraCombo1).Condition =
                    new ContainedInListCondition(list, ListItemMatchMode.DisplayText);
    

    More information in regards to the above can be read in our website here.

    Should you have any other questions, please let me know.

    Sincerely,
    Tihomir Tonev
    Associate Software Developer
    Infragistics