Increase Gridview Column Width

  • Thread starter Thread starter dmbuso
  • Start date Start date
D

dmbuso

How do I increase the default width of a gridview column (just one column,
the 10th column, named "Notes")?

In design mode, I changed the width properties of the HeaderStyle,
ControlStyle, and ItemStyle to 300 px and set Wrap to False for the
HeaderStyle and ItemStyle. When I accept settings the "Notes" field widens in
design mode but when I run the web site, the Notes field is back to default
width.

I've come across many articles and nothing seems to work for me.

PS - My gridview is bound to SqlDataSource1 which is a SELECT statement to a
SQL Server 2005 database table.
 
Hi,

Just check whither your other styles are overriding your item's
width...

Regards

Munna
 
Back
Top