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

[Solved] Telerik grid script loading

1 Answer 94 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pablo
Top achievements
Rank 1
Pablo asked on 20 Jul 2011, 10:38 AM
Hi,

I'm using jquery validation and need to use the jquery.validate.js script which I have in my solution.

The thing is that when I use the MVC telerik grid, it tries to load that file from the telerik scripts folder and as it has been already loaded from other route, it's not working. (The browser loads both scripts anyway and that's the problem)

I would like to know if I can turn off the script loading for the telerik grid somehow ... or how can i fix this issue...

Thanks a lot!

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 20 Jul 2011, 11:57 AM
Hi Pablo,

The latest version of our MVC extensions (Q2 2011) provides the ability to set jQueryValidation(false) to the ScriptRegistrar.

http://www.telerik.com/help/aspnet-mvc/web-assets-working-with-javascript-web-assets.html#jQueryValidation

If you are using an older version, you can delete the contents of the Telerik validation js file, so that its automatic registration does not make any difference.

All the best,
Dimo
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Grid
Asked by
Pablo
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or