Hi
I am new in web development.
I used telerik control in my project.
actually work on project which is develop in VS 10 and MVC 2
now i open that Project in VS 12 and MVC 4. I have done related
changes in Web.Config file.
but now i get an error in master page like
"Value cannot be null. Parameter name: item"
in this code
<%= Html.Telerik().StyleSheetRegistrar()
.DefaultGroup(group => group.Add("telerik.common.css")
.Add("telerik.vista.css")
)
%>
.DefaultGroup(group => group.Add("telerik.common.css")
.Add("telerik.vista.css")
)
%>
I search out in google but i dont understand what actually error says.
Please help me to solve out this error.
Thanks in advance.
Pranav ShahPosted Apr 24, 2015, 2:33 AM
I will do it.
Muralishankar SundaramPosted Apr 22, 2015, 9:42 AM
the message represents that you have passed wrong parameter to the helper methods, so please post those details in telerik community forum and they will share the solution regarding the error.
Regards,
Muralishankar
Pranav ShahPosted Apr 22, 2015, 6:32 AM
i have already update telerik.Web.Mvc dll with latest version v4.0.30319
also i update in web config file from mvc ver 2 with mvc ver 4.
project successfully run but error in this code
"Value cannot be null. Parameter name: item"
in this code
<%= Html.Telerik().StyleSheetRegistrar()
.DefaultGroup(group => group.Add("telerik.common.css")
.Add("telerik.vista.css")
)
%>
i don not understand where i am wrong.
please help me.
Muralishankar SundaramPosted Apr 22, 2015, 3:35 AM
Yes, have to change the referred DLL to Telerik-MVC4. and you need to do some version changes in Main web.config.
Regards,
Muralishankar
Pranav ShahPosted Apr 22, 2015, 1:20 AM
for MVC 4. but i used telerik at that time in MVC 2.
should i replace all things with Kendo UI in MVC 4 ?
Sibeesh VenuPosted Apr 21, 2015, 7:30 AM
Have you checked in telerik support channel? http://www.telerik.com/support . If not please ask them whether there is any new release available!.