Click here to Skip to main content
11,481,754 members (64,854 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 21.3K 277 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.

Follow on   Twitter

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