title: format Telehone in Telrik MVC Grid Client.Template
body: <p>How can i format Telephone number from xxxxxxxxxx to (xxx) xxx-xxxx </p>
  
  <p>in telerik MVC Grid .client.template.</p>
  
  <p>I tried something like this. which is not working </p>
  
  <pre><code>string formatPattern = @"(\d{3})(\d{3})(\d{4})";
  
   columns.Bound(e=&gt;e.ID)
   .ClientTemplate(Html.Raw(String.Format("{0:###-###-####}", "&lt;#= Telephone #&gt;") + "&lt;br /&gt;"      + Regex.Replace("&lt;#= Fax #&gt;", formatPattern, "($1) $2-$3")).ToString()).Title("Phone / Fax");
  </code></pre>
  
  <p>I tried both ways String.format and Regex.Replace</p>
  
  <p>I also tried <code>$.telerik.formatString('{0:###-###-####}'&lt;#= telephone =&gt;)</code></p>
  
  <p>but no use.</p>