Kendo Validator for JSP tags

4 posts, 0 answers
  1. Anshuman
    Anshuman avatar
    4 posts
    Member since:
    Nov 2015

    Posted 13 Apr Link to this post

    Hi,

    I was referring the  Kendo Validator Usage, it has shown the examples for HTML, ASP.NET,  i could not find the examples for JSP tags, how can we add "required" and also custom rules for the <kendo:dropDownList>, <kendo:datePicker>? Can you please share some Kendo validator examples using JSP tags.

  2. T. Tsonev
    Admin
    T. Tsonev avatar
    2771 posts

    Posted 18 Apr Link to this post

    Hi,

    I've checked the source code of the JSP Taglib and can't find means to set the required attribute.
    I'll forward this as a bug report to the responsible developers.

    Apologies for the caused inconvenience.

    Regards,
    T. Tsonev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. UI for ASP.NET AJAX banner
  4. Anshuman
    Anshuman avatar
    4 posts
    Member since:
    Nov 2015

    Posted 19 Apr in reply to T. Tsonev Link to this post

    Hi Tsonev,

    Thank you for looking in to the issue, Kendo jsp tags are taking "required" attribute and also custom validation message, I tried the below and when i use kendoValidator's validate method it is working fine.

    <c:cdatePicker name="userName"  value="" parseFormats="MM/dd/yyyy" format="MM/dd/yyyy" required data-required-msg="User Name Required" />     

  5. T. Tsonev
    Admin
    T. Tsonev avatar
    2771 posts

    Posted 21 Apr Link to this post

    Hi,

    Glad to hear that. I must've missed something in my tests.

    Regards,
    T. Tsonev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
UI for ASP.NET AJAX banner