I have a column with some text and carriage return and i want to read only one line
I want a row heigh fixed for all rows for 20pixel
i try this but it does not work:
Grid.DisplayLayout.RowHeightDefault = System.Web.UI.WebControls.Unit.Pixel(20)Grid.DisplayLayout.RowStyleDefault.Height = System.Web.UI.WebControls.Unit.Pixel(20)
Not work for me, i have the version 2008 vol1 on vs.net 2008
Do you have some text with carriage return in your rows grid?
Is there any other option can i try...
That works for me (in the InitializeLayout event at least).
Actually, I use:
e.Layout.RowHeightDefault = System.Web.UI.WebControls.Unit.Pixel(20)