title: Kendo UI - InvalidOperationException: A circular reference was detected while serializing an object of type
body: <p>Posted 3 hours ago (permalink)</p>
  
  <p>I am getting the following error when binding my Model to a Kendo Grid.</p>
  
  <p><em>A circular reference was detected while serializing an object of type [my type]</em></p>
  
  <p>What is strange is that the type of the object that is causing the circular reference is not the same as the type of object of the Model for this page... ie:</p>
  
  <pre><code>@model IEnumerable&lt;Models.Type&gt;
  </code></pre>
  
  <p>Is not the same type that is causing this error. What could be the problem?</p>
  
  <p>Here is the code that is generating this exception:</p>
  
  <pre><code>@(Html.Kendo().Grid(Model)
      .Name("Grid")
      .Columns(columns =&gt;
      {
          columns.Bound(p =&gt; p.Name).Groupable(false);
      })
      .Pageable()
      .Sortable()
      .Scrollable()
      .Filterable()  
      .DataSource(dataSource =&gt; dataSource      
          .Ajax()
          .ServerOperation(false)      
       )
  )
  </code></pre>