To stop text wraping in an datagrid asp.net 2003

Discussion in 'ASP .Net Datagrid Control' started by Dan, Feb 25, 2005.

  1. Dan

    Dan Guest

    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
     
    Dan, Feb 25, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt Theule

    Stop Debugging doesn't stop in ASP.NET

    Matt Theule, Jul 23, 2003, in forum: ASP .Net
    Replies:
    7
    Views:
    740
    Matt Theule
    Jul 24, 2003
  2. MattB
    Replies:
    2
    Views:
    5,204
    MattB
    Nov 12, 2004
  3. Dan
    Replies:
    0
    Views:
    465
  4. =?Utf-8?B?RHIuIFBhdWwgQ2Flc2FyIC0gQ291bGxCeXRlIChV

    ASP.NET 1.1 VERSION ON WIN SERVER 2003 SP1 & VS 2003 Arch.

    =?Utf-8?B?RHIuIFBhdWwgQ2Flc2FyIC0gQ291bGxCeXRlIChV, Apr 30, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    596
    Aquila Deus
    Apr 30, 2005
  5. Replies:
    6
    Views:
    452
    Jonathan N. Little
    Apr 4, 2006
Loading...

Share This Page