Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

asp grid view headers are too large when only one record is in the set...

Posted on 2010-11-29
2
Medium Priority
?
308 Views
Last Modified: 2012-05-10
The headers are too big along with the details in the grid view.  How can I control the size of each row?  Right now, as more records are added to the grid view, it gets smaller and smaller.  If there is only a couple records (see attachment) the header and rows are huge.

Any ideas?

Thanks
ScreenShot007.jpg
0
Comment
Question by:Bran-Damage
2 Comments
 
LVL 6

Accepted Solution

by:
ajb2222 earned 2000 total points
ID: 34233808
Did you set the height of the control?  if you did, remove it, then the control will resize the height based on the content.  IF the height is set it will resize the content based on the height.
0
 

Author Closing Comment

by:Bran-Damage
ID: 34234096
Perfect, thanks!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Integration Management Part 2
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question