Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DataGrid Row Heights are different

Status
Not open for further replies.

dg043

Programmer
Apr 22, 2002
52
GB
I have two ASP.NET pages, both of which contain one datagrid. The height of each row in BOTH datagrids is set to 16px. However, the first datagrid displays each row at apparently a much bigger height than in the second datagrid. Both datagrids only contain text in each of their rows so why is the height different??!!

Dan Griffiths
Software Analyst
National Grid Transco (NGT)
 
Thanks for the guess but the ENTIRE ASP behind each datagrid is exactly the same.
With a bit of experimentation however, I have found that having only one row in the datagrid (apart from the header) produces the oversized height issue. When there are 2 or more rows, the row heights are fine

Dan Griffiths
Software Analyst
National Grid Transco (NGT)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top