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
150
ContainedInListCondition with ultracombo
posted

Hi,

I would like to use an ultravalidator to check if the value selected is in my list. I have the following code :

this.ultraComboTiers.DataSource = this.bindingSourceATiers;

bindingSourceATiers.DataSource = GetTiers();

and

this.ultraValidator1.GetValidationSettings(this.ultraComboTiers).Condition = new Infragistics.Win.ContainedInListCondition(bindingSourceATiers, Infragistics.Win.ListItemMatchMode.DataValue);

But it does not work. How can I perform this ?

Thx

Parents Reply Children
No Data