Grid with Custom Popup Template - Kendo Validators

2 posts, 0 answers
  1. Paul
    Paul avatar
    33 posts
    Member since:
    Mar 2013

    Posted 02 Sep 2014 Link to this post

    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
  2. Daniel
    Admin
    Daniel avatar
    2231 posts

    Posted 04 Sep 2014 Link to this post

    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.

     
Back to Top