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

  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. 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. AndrewF
    Replies:
    1
    Views:
    744
    Bruce Barker
    Oct 10, 2005
  2. Keith G Hicks
    Replies:
    3
    Views:
    751
    Keith G Hicks
    Feb 18, 2008
  3. Replies:
    0
    Views:
    915
  4. Carl Howarth

    DG Column Width vs Table Column Width

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

Share This Page