This question is locked. New answers and comments are not allowed.
Hi,
just wanted to post my experience trying to get the telerik components running in a mvc3 project.
Perhaps some of you won't run in trouble and experiencing the same problems.
I tried two days to get the grid running in my project but it failed all the time with strange errors like System.ArrayTypeMismatchException when the StyleSheetRegistrar or ScriptRegistrar was called.
Including the scripts and queries manually resultet in many many other failures.
After some time i createt a brand new MVC3 project and tada - it worked!
Regarding the configs i found out that the web.config of my project contained following entries:
just wanted to post my experience trying to get the telerik components running in a mvc3 project.
Perhaps some of you won't run in trouble and experiencing the same problems.
I tried two days to get the grid running in my project but it failed all the time with strange errors like System.ArrayTypeMismatchException when the StyleSheetRegistrar or ScriptRegistrar was called.
Including the scripts and queries manually resultet in many many other failures.
After some time i createt a brand new MVC3 project and tada - it worked!
Regarding the configs i found out that the web.config of my project contained following entries:
<dependentAssembly> <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="2.0.0.0" newVersion="3.0.0.0" /> </dependentAssembly>These entries have been created by a converter (MvcAppConverter) when i converted my MVC2 project into a MVC3 project (quiet a time ago).
In order to get telerik for mvc working change these entries:
<dependentAssembly> <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" /> <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" /> </dependentAssembly>
With this setup in the web.config the tools are instantly working!
Hopefully this information can help some others ;-)
Daniel