Gridview control will not wrap text in ItemTemplate Labels

Discussion in 'ASP .Net' started by Keithb, Nov 4, 2006.

  1. Keithb

    Keithb Guest

    I have a GridView control with 2 template columns. Both contail a Label
    control in their ItemTemplate. The right column label wraps text on long
    strings, the left column just gets wider with long strings. I have
    <ItemStyle Wrap="true" /> on both column TemplateFields; however it makes no
    difference either way. As far as I can tell, the properties and styles for
    both columns are the same. How can I get the left column to wrap text the
    way the right column does?

    Thanks,

    Keith
     
    Keithb, Nov 4, 2006
    #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. Bennett Haselton
    Replies:
    1
    Views:
    5,387
    Joe Fallon
    Sep 24, 2004
  2. Dinu
    Replies:
    2
    Views:
    490
  3. Aaron Fude

    To wrap or not to wrap?

    Aaron Fude, May 8, 2008, in forum: Java
    Replies:
    12
    Views:
    725
    Chronic Philharmonic
    May 10, 2008
  4. Art Werschulz

    Text::Wrap::wrap difference

    Art Werschulz, Sep 22, 2003, in forum: Perl Misc
    Replies:
    0
    Views:
    263
    Art Werschulz
    Sep 22, 2003
  5. Art Werschulz

    Text::Wrap::wrap difference

    Art Werschulz, Sep 24, 2003, in forum: Perl Misc
    Replies:
    1
    Views:
    263
    Anno Siegel
    Sep 25, 2003
Loading...

Share This Page