Five ASP.NET Controls You Might Be Craving : Page 3
Tricky solutions require tricky codingthe kind of features that a wizard-driven environment and a general-purpose framework can't provide. In this article, you'll tackle five ASP.NET features that require wicked and creative code.
by Dino Esposito
Oct 6, 2003
Page 3 of 5
WEBINAR:
On-Demand
Application Security Testing: An Integral Part of DevOps
3. Truncate Text in Grid Columns
A common problem for ASP.NET developers and UI designers is that often the text you want to display in a grid exceeds the maximum width of the column. In this case, having the text wrap to the next line within the same cell is a viable option, but not necessarily an elegant option. What if you want to emulate the behavior of the Windows listviews and show an ellipsis at the end of truncated strings?