This is a migrated thread and some comments may be shown as answers.

MVC4 Model validation with Kendo UI Mobile

1 Answer 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 12 Feb 2013, 10:16 PM
Hello,

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

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 14 Feb 2013, 07:23 PM
Hello,

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.

Regards,
Daniel
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
Bob
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or