We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Css not applying to grid

Thread ID:





89410 Aug 24,2009 05:20 AM UTC Jun 21,2011 09:22 AM UTC ASP.NET MVC (Classic) 3
Tags: Grid
Rema Balachandran Rajesh
Asked On August 24, 2009 05:20 AM UTC

When i run my application i get the error "Microsoft JScript runtime error: 'window.mvcResourceManger' is null or not an object". How do i resolve this?

Balaji M [Syncfusion]
Replied On August 25, 2009 10:06 AM UTC

Hi Rema,

Thank you for your interest in Syncfusion product.

The reported issue is reproducable because of RegisterClientMvcResourceManager which are not registered in html page.

RegisterClientMvcResourceManager is used to enable the script and CSS files to load the assemblies used in the client file.


• It compresses the page and reduces the time taken to render the page.

• It loads the script files very fast.

• It makes it difficult to read the compressed code, and hence provides protection against theft.

In ASP.NET MVC, RegisterClientMvcResourceManager is generally added in master page.

Script file should be included in the Body section as follows.


<%=Html.RegisterClientMvcResourceManager() %>

Please refer the sample from the below link.


We would also suggest you to refer the below documentation link


Please let us know if you have any questions.

M. Balaji.

Chetan Thummar
Replied On June 18, 2011 09:21 AM UTC


i am facing same problem.
i have check your refference project which was mentioned by you.
but error in that project also.
still getting error.
i have put this code
" <%=Html.RegisterClientMvcResourceManager() %> "
in body but error is still there and also compile error like this
object does not contail RegisterClientMvcResourceManager

please solve my prob...

Eswari S [Syncfusion]
Replied On June 21, 2011 09:22 AM UTC

Hi Chetan,

Thank you for your interest with Syncfusion products.

" <%=Html.RegisterClientMvcResourceManager() %> " is obsolete. So please use "<%=Html.Syncfusion().ScriptManager() %>".

Refer to the below code snippets:

The ScriptManager() method should be placed after all the components on the page. Generally,you can use this method at the end of the master page.



<%=Html.Syncfusion().ScriptManager() %>

Also ,please ensure that the handlers are added in the Web.config file.

Please refer to the following code snippets:


... .

type="Syncfusion.Mvc.Shared.MvcResourceHandler, Syncfusion.Shared.Mvc, Version=,

Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" validate="false"/>

. . .

type="Syncfusion.Mvc.Shared.MvcResourceHandler, Syncfusion.Shared.Mvc, Version=,

Culture=neutral, PublicKeyToken=3d67ed1f87d44c89"/>

We have prepared the sample for your reference and the same can be downloaded from the following link:


Also, We would request you to check with the online UG from the following link:


Please let us know if you would require any further assistance.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon