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

[Solved] ScriptRegistrar, debug, and validate

1 Answer 114 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Marc Simkin
Top achievements
Rank 2
Iron
Iron
Veteran
Marc Simkin asked on 09 Jun 2011, 03:10 PM
Hi:

I'm trying to track down a script error I'm getting with a drop down inside a grid.

When I run the code the javascript console is displaying the following error:

SCRIPT438: Object doesn't support property or method 'addClass'

 

telerik.combobox.min.js, line 1 character 1103


I would liek to debug this and figure out exactly what the issue is, however, I can not figure out how to get the ScriptRegistrar to load the debug (non-min) version of the scripts.

How can I do that?

Also, I noticed that the the Telerik version of jquery.validate.min.js is being loaded. I have already loaded jQuery.validate on the page, as I'm using the 1.8.1 version.

How can I stop the ScriptRegistrar from rending a script tag to load jquery.validate?

Thanks

marc

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 10 Jun 2011, 08:46 AM
Hi Marc Simkin,

 If you want to use the debug scripts you must copy the Scripts folder from the source code project (Telerik.Web.Mvc.csproj) in the folder where the minified versions are. Also delete the minified versions.

Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Marc Simkin
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Atanas Korchev
Telerik team
Share this question
or