How to truncate text in a label control to allow maximum number of characters. I would like to avoid using code behind because the label is in a repeater.
<% 1: # Eval("EventDate").ToString().Substring(startIndex, Length of string)%>
1: # Eval("EventDate").ToString().Substring(startIndex, Length of string)
Happy coding…
No comments:
Post a Comment