Click here to Skip to main content
11,707,167 members (56,976 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » Howto » Statistics
Add your own
alternative version

Truncating a text string in ASP.NET to fit within a given pixel width

, 8 Sep 2010 CPOL 22.5K 278 29
How to truncate a text string in ASP.NET to make it fit within a given width specified in pixels.




This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Waleed Eissa
Software Developer (Senior) Contractor
Australia Australia
Waleed Eissa is a software developer from Cairo, Egypt. He spent 7 years developing software for the banking industry, but has changed focus in recent years to Web development. He specializes in Microsoft technologies, esp. ASP.NET and C#, and is passionate about everything web. His main interests are user experience design (UX), performance tuning and scalability.

He currently lives in Melbourne, Australia.


You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150819.1 | Last Updated 8 Sep 2010
Article Copyright 2010 by Waleed Eissa
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid