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

[Solved] Telerik Scriptregistrar throws exception in VS 2012

2 Answers 41 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.
Greg
Top achievements
Rank 1
Greg asked on 13 Nov 2012, 06:46 AM
folks
We have just updated one of our development computers to .net 4.5 VS 2012 MVC 4
We have a Solution that was developed in .net 4.0 VS 2010 MVC3 with Telerik MVC extensions

We have updated this solution to .net 4.5 VS 2012 MVC 4

When we run it we get this error:
"Value cannot be null .Parameter name: item" of the type ArgumentNullException

it occurs in the _Layout.cshtml file on this line of code:
 @(Html.Telerik().ScriptRegistrar().DefaultGroup(group => group.Add("telerik.all.min.js").Compress(true)))

This same code works in .net 4.0 VS 2010 MVC3

What could the issue be??

regards


GregJF

2 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 11 Feb 2013, 11:09 PM
We are having the same problem.  Is there any Telerik.Web.Mvc.dll that will load (without error) in VS 2012 (.net 4.5)?
0
Greg
Top achievements
Rank 1
answered on 12 Feb 2013, 03:56 AM
David
We have now upgraded to Kendo_UI version 2012.3.1121

With Kendo, you don't use ScriptRegistrar

I would advise you to upgrade to Kendo if you are using VS 2012

regards

Greg
Tags
General Discussions
Asked by
Greg
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Greg
Top achievements
Rank 1
Share this question
or