Click here to Skip to main content
12,395,378 members (63,346 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#2.0 C# ASP.NET
I did the Grid View Header Text Vertical using with the following style
<style type="text/css"> 
 
.VertiColumn th { 
writing-mode: tb-rl; 
filter: fliph()flipV(); 
 
} 
 
</style>
 
<HeaderStyle CssClass="VertiColumn" />
But i want the Header to be like this in Vertical. Shouldn't show full text in one line, it should wrap the text.

eg:

"Monthly
Rate"
Posted 26-Sep-12 21:21pm
Robymon1.1K
Updated 26-Sep-12 21:35pm
JF201554.7K
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

try yo use this piece of code in ur css class

.headerText
{
display:block;
height:128px;
width:128px;
vertical-align:bottom;
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
-o-transform: rotate(-90deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.headerBottom
{
vertical-align:bottom;
}

here's the aspx page
The column is defined as:



  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160721.1 | Last Updated 27 Sep 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100