Solved

Row Height in GridView?

Posted on 2008-06-11
2
411 Views
Last Modified: 2013-11-27
I am very new to Visual Studio and I am learning on the fly.  I have created a simple web application that has a GridView in the 'Content' portion of my web application (using DIV commands and CSS).  I would like to control the row height in my GridView.  Right it is a fixed height and takes up too much room on my web page.  Is there an easy way to do this?

Thank you,
RT
0
Comment
Question by:northstarneuro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 48

Accepted Solution

by:
jpaulino earned 125 total points
ID: 21763059
You can control the Height in the ItemStyle .

Ex:
<asp:BoundField DataField="MyField" HeaderText="Field" SortExpression="Field">
      <ItemStyle Height="50px" />
</asp:BoundField>

Open in new window

0
 

Author Closing Comment

by:northstarneuro
ID: 31466287
This was perfect.  Thank you, RT
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

751 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