title: Telerik's Grid in MVC3 razor and ClientTemplate colums
body: <p>I'm starting a new project in MVC3 and whant to use Razor view engine. Right now I'm having problems working with ClientTemplate.</p>
  
  <p>Right now all &lt;# Property #> returns [object Object] , why?</p>
  
  <p>Here's my code and it was working in MVC2 project not in Razor :</p>
  
  <pre><code>@(Html.Telerik().Grid&lt;User&gt;()
                      .Name("Grid")
                      .Columns(colums =&gt;
                       {
                           colums.Bound(c =&gt; c.Email);
                           colums.Bound(c =&gt; c.Id).Title(" ").HtmlAttributes(new { @class = "center-text" })
                               .ClientTemplate("&lt;a id=\"deleteLink\" href=\"#\" title=\"Delete\" onclick=\"if(confirm('" + Strings.ConfirmDeleteAdmin + "')){ return deleteItem('&lt;#=Id#&gt;');} else { return false;};\"&gt;&lt;img src=\"Content/images/icons/cross.png\" alt=\"" + Strings.Delete + "\" /&gt;&lt;/a&gt;"); 
                       })
                      .DataBinding(d =&gt; d.Ajax().Select(MVC.Admin.ListAjax().GetRouteValueDictionary()))
                      .Sortable()
                      //.Pageable()
  )
  </code></pre>
  
  <p>Thx</p>