Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: DataGrid column widths change sizes. Can Control?


Message #1 by "Jose Haymaker" <ehaymaker@a...> on Wed, 12 Dec 2001 19:56:26
my boss doesn't like editing from the datagrid becasue the columns change 

sizes when you click edit, and then again when you click cancel.



He thought maybe I could add spaces to the column headings, but the code 

apparently eats blank spaces.  



Is there a way to control the column width so the columns will not change 

sizes?
Message #2 by Tim Heuer <TimH@i...> on Wed, 12 Dec 2001 13:01:13 -0700
If you are using ItemTemplates/EditItemTemplates you can set the width of

those columns...alternatively consider using a "clear" gif image...



-----Original Message-----

From: Jose Haymaker [mailto:ehaymaker@a...] 

Sent: Wednesday, December 12, 2001 12:56 PM

To: ASP+

Subject: [aspx] DataGrid column widths change sizes. Can Control?





my boss doesn't like editing from the datagrid becasue the columns change 

sizes when you click edit, and then again when you click cancel.



He thought maybe I could add spaces to the column headings, but the code 

apparently eats blank spaces.  



Is there a way to control the column width so the columns will not change 

sizes?





  Return to Index