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

Grid with Custom Popup Template - Kendo Validators

1 Answer 85 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 02 Sep 2014, 09:42 AM
Hi there,

I've read in places that the grid will automatically use Kendo Validators inside the add / edit popup, even if this is a custom form - is there any way to prevent this behaviour, so that it will just use standard MVC validation controls?

For complicated reasons, the decision has been made not use Kendo Validators inside our current MVC application - meaning that the validators on our normal forms look very different at present from those used on the grid popups.

If this behaviour can't be prevented, can the Kendo Validators be easily styled to look the same as the default MVC controls - at the minute, all we would like is a simple line of text to appear beside the control.

Thanks,

Paul

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 04 Sep 2014, 07:50 AM
Hello Paul,

There isn't a way to prevent the grid from using the Kendo validator because it is used as part of the editing logic. Overriding the tooltip styles so that it looks like the jQuery validation messages is possible. Please check this example and let me know if it works for you.

Regards,
Daniel
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Paul
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or