title: Kendo UI grid select a row onload
body: <p>I have a list of users, <strong>List of User binded to a grid.</strong> I have a currently logged in user information in <strong>ViewData[User]</strong>. 
  What I want is if a <strong>grid contains a user which is in ViewData, I want that user to be selected as soon as grid loads data. How can I do this validation? How can I get currently selected row ?</strong></p>
  
  <pre class="lang-cs prettyprint-override"><code>@(Html.Kendo().Grid(KendoGridAjaxBinding.Models.User)()  
   .Name("grid")  
   .DataSource(dataSource =&gt; dataSource   .Ajax()  
   .Read(read =&gt; read.Action("User_Read", "Home"))       
   .Columns(columns =&gt; {
      columns.Bound(user=&gt; user.UserID);   
      columns.Bound(user=&gt; user.UserName);   
      columns.Bound(user=&gt; user.City);  
    ).Pageable().Sortable())  
  </code></pre>