I have a radgrid, and want to make the row height as small as possible so that I can fit many rows in a small space. My RadGrid is inside of a user control, and in the user control's page load event, I have the following code:
rgMain.HeaderStyle.Height = Unit.Pixel(10);
rgMain.ItemStyle.Height = Unit.Pixel(10);
rgMain.AlternatingItemStyle.Height = Unit.Pixel(10);
rgMain.CellPadding = 0;
rgMain.CellSpacing = 0;
However, the grid rows are always 27 pixels tall, no matter what values I specify for the Height properties or CellPadding and CellSpacing.
rgMain.HeaderStyle.Height = Unit.Pixel(10);
rgMain.ItemStyle.Height = Unit.Pixel(10);
rgMain.AlternatingItemStyle.Height = Unit.Pixel(10);
rgMain.CellPadding = 0;
rgMain.CellSpacing = 0;
However, the grid rows are always 27 pixels tall, no matter what values I specify for the Height properties or CellPadding and CellSpacing.