Hi guys... im using a ultracombo/editor as n editor component to a cell in my grid...
Can anyone tell me or show how the ultravalidator works???
if the the user has not select anything and the combo is empty/null it must validate,if the user entered anything thats not in the dropdown list it must validate...
How can i achieve this?
Hi Boris
it turns out with the functionality of the ultracombo i dont need to validate as it has a autocomplete function and i changed the property to dropdownlist so the user has to select from the combo.
I will need to validate at other places but will only get to that later...
As soon as i get to it i will let you know... wont be anytime soon though..
thanks
Hello Burmo,
I wanted to know if you were able to solve your issue based on these suggestions or you still need help. Please let me know.
You can find documentation on the UltraValidator component online, and there are sample installed with NetAdvantage demonstrating how to use it with the grid. But it doesn't sound like you need it for what you want here.
To force the user to choose an item from the list, all you have to do is set the column's Style to DropDownList and set Nullable to Nullable.Disallow.
Also, using an UltraComboEditor for the column is probably not neccessary, either. If you just want a dropdown list in a column, you could use a ValueList. HOWTO:What is the best way to place a DropDown list in a grid cell?