This question is locked. New answers and comments are not allowed.
Is there any way to force a client side error if a value entered into the combobox is not a valid value of the combobox?
For example go to this link and type in some random number (2323232) instead of selecting a product:
http://demos.telerik.com/aspnet-mvc/combobox/clientvalidation
I can't believe that value 2323232 is a valid value for a product yet you can still click the save button and post the value. If you type a random string into the product name 'asdsdfsdfsd' you'll see that you do get a client side error.
So its seems to be filtering on the string values associated with the combobox but not the int values. You would think this should work both ways. I should not be able to enter a random int value into the combo box. If so it should raise an error just like it does when you enter a random product name.
Any ideas?
Thanks,
lmf232s
For example go to this link and type in some random number (2323232) instead of selecting a product:
http://demos.telerik.com/aspnet-mvc/combobox/clientvalidation
I can't believe that value 2323232 is a valid value for a product yet you can still click the save button and post the value. If you type a random string into the product name 'asdsdfsdfsd' you'll see that you do get a client side error.
So its seems to be filtering on the string values associated with the combobox but not the int values. You would think this should work both ways. I should not be able to enter a random int value into the combo box. If so it should raise an error just like it does when you enter a random product name.
Any ideas?
Thanks,
lmf232s