BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
When I add the following line to my _Layout.cshtml, @{Html.Syncfusion().ScriptManager().EnableGlobalization().Render();}. I get the following error; 0x800a1391 - JavaScript runtime error: 'MvcResourceManger' is undefined.
Hi Marc,
Thanks for using Syncfusion Products.
We suspect that you have not added the ‘MvcResourceHandler’ in Web.config file and so we suggest you to add the handler in the httpHandlers section of Web.config file. Please refer the following code snippets.
Code Snippet:
[Web.config]
<httpHandlers>
<add verb="GET,HEAD" path="MvcResourceHandler.axd" type="Syncfusion.Mvc.Shared.MvcResourceHandler, Syncfusion.Shared.Mvc, Version=11.4400.0.26, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" validate="false" />
</httpHandlers>
For your convenience we have created a sample and the same can be downloaded from below link.
Please let us know if you have any queries.
Regards,
Alan Sangeeth S
I receive the same error, however, I used the Syncfusion Sample Creator to generate an MVC application.
The line DOES exist in the Web.Config file. Any thoughts?
<add verb="GET,HEAD" path="MvcResourceHandler.axd" type="Syncfusion.Mvc.Shared.MvcResourceHandler, Syncfusion.Shared.Mvc, Version=11.3440.0.30, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" validate="false" />
Another potential cause for this issue is a missing namespace reference (i.e., under pages/namespaces in both web.config files).
Also, it looks like the version attribute in your httpHandlers reference (11.3440.0.30) might be a bit out-of-date. You might want to ensure this matches the version you have referenced in Solution Explorer.
Hi Paul,
Thanks for the update.
We regret to let you know that we are unable to reproduce the issue “’MvcResourceManger' is undefined” with MvcResourceHandler added in httpHandler section of Webconfig file.
Could you please send us a sample with the issue so that we could sort out the cause of the issue and provide you a better solution quickly? Information provided would be a great help for us to resolve your issue.
Please let us know if you need any further assistance.
Regars,
Alan Sangeeth S