Wrap text inside bound box in SPGridView

I am showing some text in a column inside an SPGridView. The text appears to be longer than it is long, and as a result, the web page becomes too wide.

I tried setting BoundField.ItemStyle.Wrap to true and I also tried BoundField.ControlStyle.Width and BoundField.ItemStyle.Width values ​​but they didn't work ...

How to wrap text?

0


source to share


1 answer


The column has its own width property - see http://msdn.microsoft.com/en-us/library/microsoft.imm.sdk.sharepoint.medialibrary.column.width.aspx



+1


source







All Articles