MVC4 Model validation with Kendo UI Mobile

2 posts, 0 answers
  1. Bob
    Bob avatar
    46 posts
    Member since:
    Apr 2012

    Posted 12 Feb 2013 Link to this post


    I'm not sure if this should be posted here or in a premium forum?

    We have an MVC4 based web app we need to run in Android and IOS based browsers.

    We are looking to use Kendo UI Mobile from our  but need to ask a few questions?
    1. Can we use the MVC4 Data Annotations built-in validation and optimize the MVC4 validation summary style for mobile?
    2. Can we use the MVC4 HtmlHelper ValidationSummary method?
    3. We do not want to use the Kendo UI validators.  Can we instead use the validator script generated by the MVC4 runtime inspecting the Model attributes (ie Required, Range, etc)?

    Will Kendo UI Mobile support what we are trying to do?

    Thanks...Bob Baldwin
    Trabon Solutions
    Devcraft Complete Licensed Customer

  2. Daniel
    Daniel avatar
    2173 posts

    Posted 14 Feb 2013 Link to this post


    I posted my reply in the support ticket on the same topic. For convenience I am pasting it below:

    Kendo UI Mobile does not use any validation by default so you are free to use any validator including the MVC jQuery valdator. We do not provide any specific styles for the validation elements and you can style them as needed. The ValidationSummary, validation messages and DataAnnotation attributes for the MVC valdiation can be used in the same way as without Kendo Mobile.
    I hope this information helps. Let me know if you have any further questions on this matter.

    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top