title: <%: %> Syntax for HTML Encoding in a repeater
body: <p>Since .NET 4 its possible to use the &lt;%: %> syntax for HTML Encoding of text.</p>
  
  <p>In a repeater I use the following syntax to display data </p>
  
  <pre><code>&lt;%# DataBinder.Eval(Container.DataItem, "fieldlabel")%&gt;
  </code></pre>
  
  <p>The only way I know of to encode the output in the repeater is by using "Server.HtmlDecode". Is it possible to use the new  &lt;%: %> in a repeater just in combination with databinding so that I can remove the ugly HtlmDecode syntax. Or is an extention method my only option to improved the readability?</p>