Subject: DataGrid column width
Posted By: johanyu Post Date: 10/30/2004 5:33:11 AM
Hi,

I am using DataGrid to update my database, anything is working fine. I got problem to set the width of column after click Edit.

I am using "asp:EditCommandColumn" and "OnEditCommand"
And the code as bellow:
DataGrid1.EditItemIndex = e.Item.ItemIndex

Any reply will be very appreciate.

sq
Reply By: fukai100 Reply Date: 11/2/2004 4:52:19 PM
Hi, instead of using BoundColumn in your datagrid, use template Columns. And then set your column width inside <EditItemTemplate> </EditItemTemplate> tags.

Kai


Go to topic 21402

Return to index page 726
Return to index page 725
Return to index page 724
Return to index page 723
Return to index page 722
Return to index page 721
Return to index page 720
Return to index page 719
Return to index page 718
Return to index page 717