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

[Solved] Telerik MVC3 and jQuery issue

2 Answers 85 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.
Bill
Top achievements
Rank 2
Bill asked on 02 Aug 2011, 02:55 PM
There is an issue when creating a new Telerik MVC3 project. It prevents you from running jQuery scripts. When I did the below, it worked fine.

I validated this from the below paragraph:

The issue is in the _Layout.cshtml file with this code snippet automatically inserted by Telerik when you create a Telerik MVC3 project:

@(Html.Telerik().ScriptRegistrar().Globalization(true).DefaultGroup(group => group.Combined(true).Compress(true)))

The above, should be replaced by this line:

@Html.Telerik().ScriptRegistrar().jQuery(false).DefaultGroup(group => group.Combined(true).Compress(true))

See this link for an explanation:
http://www.telerik.com/community/forums/aspnet-mvc/general/telerik-and-jquery-problem.aspx Telerik should make this modification when creating an MVC3 project. It was driving me crazy...


2 Answers, 1 is accepted

Sort by
0
Bill
Top achievements
Rank 2
answered on 03 Aug 2011, 09:58 PM
Telerik, any update on this issue?
0
Bill
Top achievements
Rank 2
answered on 07 Aug 2011, 07:51 PM
Hello Telerik; come in Telerik...

any updates to this issue???
Tags
General Discussions
Asked by
Bill
Top achievements
Rank 2
Answers by
Bill
Top achievements
Rank 2
Share this question
or