title: How to limit text string in Eval
body: <p>I have a hyperlink with the navigate property set like this:</p>
  
  <pre><code>NavigateUrl='&lt;%# Eval("My Text") %&gt;'
  </code></pre>
  
  <p>How can I limit the string to 140 characters ? 
      I have tried this Eval("My Text").ToString().Substring(0,140) but if the string length is less than 140 characters it throws an exception.</p>