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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set the row height for a gridview

Status
Not open for further replies.

cmn2

Programmer
Mar 6, 2003
73
US
I don't work much in ASP and I can't believe how difficult this has become. I have a gridview where some columns have lengthy text and the overall row height adjusted itself to show all the text. I want to scale down the row height to show only some of the text. None of the gridview settings I've tried have been successful. Can someone show me how this can be done. Thank you for your time and help.
 
You can set the properties in the RowDataBound event. First you have to limit the amount of text you are binding in those columns.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top