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. Advertisements

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. gajo
    Replies:
    2
    Views:
    27,773
    Pacific Guy
    Jun 25, 2004
  2. Keithb
    Replies:
    2
    Views:
    1,348
  3. Replies:
    0
    Views:
    611
  4. Replies:
    1
    Views:
    839
    Eliyahu Goldin
    Jan 9, 2007
  5. Keith G Hicks
    Replies:
    3
    Views:
    992
    Keith G Hicks
    Feb 18, 2008
  6. Carl Howarth

    DG Column Width vs Table Column Width

    Carl Howarth, Oct 22, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    459
    Eliyahu Goldin
    Oct 24, 2004
  7. Replies:
    1
    Views:
    1,828
  8. SAN CAZIANO

    resize column width in a html table

    SAN CAZIANO, Nov 24, 2004, in forum: Javascript
    Replies:
    0
    Views:
    172
    SAN CAZIANO
    Nov 24, 2004
Loading...