Gridview column width

Discussion in 'ASP .Net Web Controls' started by peter, Aug 31, 2007.

  1. peter

    peter Guest

    I have a GridView, there are several boundfileds. How can I set these
    columns' widths at design time and run time?

    Thanks


    Peter
     
    peter, Aug 31, 2007
    #1
    1. Advertisements

  2. peter

    Teemu Keiski Guest

    <asp:BoundField ItemStyle-Width="100px" ... />

    as an example?

    --
    Teemu Keiski
    AspInsider, ASP.NET MVP
    http://blogs.aspadvice.com/joteke
    http://teemukeiski.net


    "peter" <> wrote in message
    news:%...
    >I have a GridView, there are several boundfileds. How can I set these
    >columns' widths at design time and run time?
    >
    > Thanks
    >
    >
    > Peter
    >
     
    Teemu Keiski, Sep 2, 2007
    #2
    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. AndrewF
    Replies:
    1
    Views:
    1,018
    Bruce Barker
    Oct 10, 2005
  2. Replies:
    0
    Views:
    598
  3. ssk
    Replies:
    5
    Views:
    6,329
    Jukka K. Korpela
    Oct 30, 2006
  4. David Basford
    Replies:
    3
    Views:
    2,931
    BootNic
    Sep 30, 2007
  5. Keith G Hicks
    Replies:
    3
    Views:
    969
    Keith G Hicks
    Feb 18, 2008
  6. Replies:
    0
    Views:
    1,134
  7. Carl Howarth

    DG Column Width vs Table Column Width

    Carl Howarth, Oct 22, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    447
    Eliyahu Goldin
    Oct 24, 2004
  8. Replies:
    1
    Views:
    1,809
Loading...