Gridview Column Width

Discussion in 'ASP' started by admol, Feb 22, 2007.

  1. admol

    admol New Member

    Joined:
    Feb 22, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I've created a Gridview and i'm populating, editing and deleting okay. However the width of the columns changes depending on what data is in the cell. I've tried setting the individual columns ItemStyle and setting the width but it only seems to effect how the gridview in design view and not when the application is running. When i populate the cell with data the column resizes to fit the data.

    Is there any way i can set the max length of a column in single row mode?

    Thanks,

    Adrian.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice