Home All Groups Group Topic Archive Search About

GridView columns don't respect width or wrap properties!

Author
6 Jul 2006 4:52 PM
Dan English
I have a GridView control with manually added bound columns.  I have
specified ItemStyle.Width=125px and ItemStyle.Wrap=false for several
columns.  It doesn't seem to respect either of these properties, there is no
effect at all.  What can I do to make them work?

Thanks,
Dan

Author
14 Jul 2006 7:49 AM
Akash Deep
In GridView RowDataBound Event
Set the Column wrap=false
i.e e.Row.cells(0).Wrap=False

Akash Deep
akash***@hotmail.com

---
Posted via www.DotNetSlackers.com