Dynamically Resize Gridview Width Property (NOT Column Width)

Discussion in 'ASP .Net' started by Hartman_Ralph@Hotmail.com, Jun 2, 2009.

  1. Guest

    Is there a way to look at the returned data to a gridview and then
    resize the entire gridview based on the length of the data?

    My data returned could be only a few columns or many columns returned.
    I don't want to see any wrapping of text. Looking to do something
    like if Rowlength > X then Gridview1.Width = Unit.Pixel(1000)

    Thanks a ton for the help in advance
    , Jun 2, 2009
    #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. Keithb
    Replies:
    2
    Views:
    1,137
  2. Replies:
    0
    Views:
    460
  3. Replies:
    1
    Views:
    723
    Eliyahu Goldin
    Jan 9, 2007
  4. Carl Howarth

    DG Column Width vs Table Column Width

    Carl Howarth, Oct 22, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    263
    Eliyahu Goldin
    Oct 24, 2004
  5. Replies:
    1
    Views:
    1,529
Loading...

Share This Page