I need to know how to set validation on the mulitselect so that if no
items are selected, client and server side validation kicks in with
appropriate message. I am binding to a custom array list with text/value
1 Answer, 1 is accepted
answered on 10 Jan 2014, 08:27 AM
I would recommend using the KendoUI Validator for the client side validation. Basically you can initialize a Validator, define a custom rule that checks whether the MultiSelect has some items selected and if it doesn't - display an error message. For convenience I prepared this example, illustrating the above approach.
The server side validation is not directly related to KendoUI, however more information on that topic can be found on various resources over the Internet.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!