GridView columns don't respect width or wrap properties!

Discussion in 'ASP .Net Web Controls' started by Dan English, Jul 6, 2006.

  1. Dan English

    Dan English Guest

    I have a GridView control with manually added bound columns. I have
    specified ItemStyle.Width=125px and ItemStyle.Wrap=false for several
    columns. It doesn't seem to respect either of these properties, there is no
    effect at all. What can I do to make them work?

    Thanks,
    Dan
     
    Dan English, Jul 6, 2006
    #1
    1. Advertising

  2. Dan English

    Akash Deep Guest

    Re: GridView columns don't respect width or wrap prope ...

    In GridView RowDataBound Event
    Set the Column wrap=false
    i.e e.Row.cells(0).Wrap=False

    Akash Deep


    ---
    Posted via www.DotNetSlackers.com
     
    Akash Deep, Jul 14, 2006
    #2
    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. kris
    Replies:
    11
    Views:
    878
  2. Noozer
    Replies:
    22
    Views:
    29,872
    Noozer
    Jan 17, 2005
  3. ssk
    Replies:
    5
    Views:
    5,521
    Jukka K. Korpela
    Oct 30, 2006
  4. AD
    Replies:
    1
    Views:
    9,617
  5. Beemer Biker
    Replies:
    0
    Views:
    2,601
    Beemer Biker
    Jan 26, 2009
Loading...

Share This Page