title: How to escape html encoding in detail template of kendo grid
body: <p>I have a kendo grid with detail template. This is kendo MVC grid. I get some data from server which will have html text.</p>
  
  <p>lets say parent grid data is like this "<code>&lt;span class='text-red'&gt;Test&lt;/span&gt;</code>"</p>
  
  <p>In parent grid I am binding this column like this.</p>
  
  <pre><code>columns.Bound(m =&gt; m.Name).ClientTemplate("#if(Name=== ''){# - #}else{# #=Name# #}#");
  </code></pre>
  
  <p>This will give me output <code>Test</code></p>
  
  <p>In detail template of this grid I get some other data using child grid Read method which also has some html data. Let says child grid gets "<code>&lt;span class='text-green'&gt;Hi&lt;/span&gt;</code>"</p>
  
  <p>I am binding this data like this.</p>
  
  <pre><code>columns.Bound(m =&gt; m.ChildName).ClientTemplate("\\#if(ChildName== ''){\\# - \\#}else{\\# \\#=ChildName\\# \\#}\\#")
  </code></pre>
  
  <p>but this is giving me output as <code>&lt;span class='text-green'&gt;Hi&lt;/span&gt;</code>but I want output as just <code>Hi</code>. Why it is showing entire html? Why not it treat same as parent grid? I want the text <code>Hi</code> with css applied just like parent grid</p>