title: The call is ambiguous between the following methods - Kendo UI
body: <p>I recently migrated a web application from Telerik Mvc to Kendo UI,
  but I'm running into a snag that I'm not too sure how to modify since 
  I've been learning more about and getting used to Kendo UI the past week.</p>
  
  <p>Here is the problem I'm running into. The error states:</p>
  
  <pre><code> The call is ambiguous between the following methods or 
   properties: 'System.Linq.Enumerable.Where&lt;Model_OpenAccess_AssetMgr.Custody&gt;
   (System.Collections.Generic.IEnumerable&lt;Model_OpenAccess_AssetMgr.Custody&gt;, 
   System.Func&lt;Model_OpenAccess_AssetMgr.Custody,bool&gt;)' 
   and 'System.Linq.Enumerable.Where&lt;Model_OpenAccess_AssetMgr.Custody&gt;
   (System.Collections.Generic.IEnumerable&lt;Model_OpenAccess_AssetMgr.Custody&gt;, 
   System.Func&lt;Model_OpenAccess_AssetMgr.Custody,bool&gt;)'
  </code></pre>
  
  <p>And the code where the error is occurring is below:</p>
  
  <pre><code>@model List&lt;Model_OpenAccess_AssetMgr.Custody&gt;
  
  &lt;div id="AssetDescription" class="detailContainer detailContainer3"&gt;
  &lt;header class="sectionheader" &gt;  Custodians &lt;/header&gt;
  @(Html.Kendo().Grid(Model.Where(x=&gt;x.Active==true))
          .Name("grd_Admin_Custodians")
          .HtmlAttributes(new { @class = "ItemsGrid" })
          .ToolBar(commands =&gt; commands.Create())
          .DataSource(dataSource =&gt; dataSource
              .Ajax()
              .Model(model =&gt; model.Id(o =&gt; o.Custody_PK))
          )
          .DataSource(dataSource =&gt; dataSource
               .Server()
               .Read(read =&gt; read.Action("AdminHome", "Admin", new { view ="Custodies" }))
               .Create("Create", "Admin", new { id = 0, view = "Custodies" })
               .Update("Save", "Admin", new { view = "Custodies" })
               .Destroy("Delete", "Admin", new { view = "Custodies" }))
          .Columns(columns =&gt;
                  {
                      columns.Bound(o =&gt; o.Custody_Name).Width(200);
                      columns.Bound(o =&gt; o.Custody_Dept).Width(150);
                      columns.Bound(o =&gt; o.Custody_eraider).Width(130);
                      columns.Bound(o =&gt; o.Custody_Type).Width(130);
                      columns.Bound(o =&gt; o.Custody_Email).Width(220);
                      {
                          commands.Edit();
                          commands.Destroy();
                      }).Width(210);
                  }
         )
         .Scrollable(scrolling =&gt; scrolling.Enabled(true)}
         .Scrollable(scrolling =&gt; scrolling.Height(550))
         .Pageable()
         .Sortable()
      )
  &lt;/div&gt;
  )
  </code></pre>
  
  <p>(Model.Where(x=>x.Active==true) is what is being flagged.</p>
  
  <p>Now, I also have a warning listed at the top underneath</p>
  
  <p>@model List that states:</p>
  
  <pre><code>ASP.NET runtime error: Method not found 'Void  
  System.Web.Razor.RazorEngineHost.set_EnableInstrumentation(Boolean)'
  </code></pre>
  
  <p>Which I'm quite certain is interconnected with the error I'm getting.</p>
  
  <p>Do I need to modify the Model.Where() statement somehow?</p>
  
  <p>What do you think I should use instead for Kendo UI?</p>
  
  <p>On another note I recently upgraded this web application project from MVC3 to MVC4
  so I don't know if that has anything to do with this or not. But I wanted to go ahead
  and let you know of that fact as well.</p>
  
  <p>I've looked at other responses but it appears no one has asked about this for Kendo UI specifically.</p>
  
  <p>Thanks!</p>