Groups | Blog | Home
all groups > asp.net datagrid control > september 2006 >

asp.net datagrid control : Setting column widths in a GridView



Greg Smith
9/28/2006 9:08:38 AM
What is the syntax for selecting a specific width of a column in a GridView?


Any help is greatly appreciated.

Gaurav Vaish (www.EduJiniOnline.com)
9/30/2006 7:45:45 PM
Not sure if there's a better way... but probably you can hook to RowCreated
row and the GridViewRow that you get from args is a sub-class of TableRow...
can set the width of all the Cells...



--
Happy Hacking,
Gaurav Vaish | http://www.mastergaurav.com
http://www.edujinionline.com
http://articles.edujinionline.com/webservices
-------------------


[quoted text, click to view]

AddThis Social Bookmark Button