Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > To stop text wraping in an datagrid asp.net 2003

Reply
Thread Tools

To stop text wraping in an datagrid asp.net 2003

 
 
Dan
Guest
Posts: n/a
 
      02-25-2005
Unfortunately the property in Wrap="false" for a datagrid adds
nowarp="false" to the TR not the TD.

So to stop text wrapping in a Datagrid in asp.net do the following

Add:
<style>
TD { WHITE-SPACE: nowrap }
</style>

to the <HEAD>

Daniel Roth
MCSD.NET
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wraping text while displaying it dynamota@gmail.com HTML 6 04-04-2006 01:50 PM
To stop text wrapping in an datagrid asp.net 2003 Dan ASP .Net 0 02-25-2005 06:34 AM
CheckBoxList - how to prevent labels from wraping? MattB ASP .Net 2 11-12-2004 04:23 PM
How to stop a thread without using stop() Son KwonNam Java 11 04-09-2004 08:01 PM
Stop Debugging doesn't stop in ASP.NET Matt Theule ASP .Net 7 07-24-2003 07:38 PM



Advertisments