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
0
Alexander Popov
Telerik team
answered on 10 Jan 2014, 08:27 AM
Hello Zoinky,
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.
Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!