title: Why isn't my Scripts.RenderSection working for jqGrid?
body: <p>I am using Visual Studio 2012 and MVC 4, and in my _Layout.cshtml, I have the following:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;meta charset="utf-8" /&gt;
          &lt;meta name="viewport" content="width=device-width" /&gt;
          @Styles.Render("~/Content/css")
          @Scripts.Render("~/bundles/jquery")
          @Scripts.Render("~/bundles/jqueryui")
          @Scripts.Render("~/bundles/jqgrid")
  
          @RenderSection("head", required: false)
      &lt;/head&gt;
      &lt;body&gt;
          @RenderBody()
  
          @RenderSection("scripts", required: false)
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and in the BundleConfig.cs I have </p>
  
  <pre><code>public class BundleConfig
  {
      public static void RegisterBundles(BundleCollection bundles)
      {
          bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
              "~/Scripts/jquery-{version}.js"));
  
          bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
              "~/Scripts/jquery-ui-{version}.js"));
  
          bundles.Add(new ScriptBundle("~/bundles/jqgrid").Include(
              "~/Scripts/jquery.jqGrid.min.js"));
      }
  }
  </code></pre>
  
  <p>I've triple checked and my scripts folder does indeed contain jquery.jqGrid.min.js, but it's not being included.</p>
  
  <p>My Html head looks like:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8" /&gt;
      &lt;meta name="viewport" content="width=device-width" /&gt;
      &lt;link href="/Viper/Content/css" rel="stylesheet"/&gt;
  
      &lt;script src="/Viper/Scripts/jquery-1.8.1.js"&gt;&lt;/script&gt;
  
      &lt;script src="/Viper/Scripts/jquery-ui-1.8.23.js"&gt;&lt;/script&gt;
  
  &lt;/head&gt;
  </code></pre>
  
  <p>Any ideas why this is not being added?</p>