validation

2 posts, 0 answers
  1. Zoinky
    Zoinky avatar
    45 posts
    Member since:
    Sep 2007

    Posted 09 Jan 2014 Link to this post

    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
  2. Alexander Popov
    Admin
    Alexander Popov avatar
    1416 posts

    Posted 10 Jan 2014 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
Back to Top