Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
570
need Row height fixed
posted

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)