Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > Griview Problem
 

Griview Problem


Please help me How to Change gridview width after databinding in asp.net?
Ajaidass  Thursday, October 25, 2007 6:56 AM

Good point to make last changes is prerender event.

You should be able to use width property olso on design view. Your problem is probablygridviewcontent that you bind. By using template colums you can adjust addedcomponents (lets say labels) width. You can olso add lables, textboxes etc.to cell in runtime by setting style with width parameter.Be aware of content!

Egonius  Thursday, October 25, 2007 1:27 PM

Good point to make last changes is prerender event.

You should be able to use width property olso on design view. Your problem is probablygridviewcontent that you bind. By using template colums you can adjust addedcomponents (lets say labels) width. You can olso add lables, textboxes etc.to cell in runtime by setting style with width parameter.Be aware of content!

Egonius  Thursday, October 25, 2007 1:27 PM

You can use google to search for other answers

Custom Search

More Threads

• Datagridview date column formatting not applying
• DataGridView
• Filtering data in a datagridview from a record in a form
• change the value of two dimension array via DataGridView
• Changing a DataGridViewButtonColumn to show an icon
• Resizing grid
• Saving datatable to database
• display a DATETIMEPICKER control in a column in a gridview in VB 2005
• Expand datagrid row header?
• Problem with databindings