title: ASP.Net MVC partial views and jqGrid
body: <p>I get the following error message when rendering a partial view with a jGrid on.</p>
  
  <p>"Microsoft JScript runtime error: '$.jgrid.defaults' is null or not an object"</p>
  
  <p>I have included the relevant .js files. I am concerned about the following line in jquery.jqGrid.js</p>
  
  <pre><code>var pathtojsfiles = "/Scripts/";
  </code></pre>
  
  <p>All my .js files are under the scripts folder of my project.</p>