Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am developing an application in which i need to print the grid view header name vertically how can i do that?
Posted

1 solution

Here: Vertical Column Headers[^]

Try:
HTML
<style type="text/css">
.VertiColumn th {
   writing-mode: tb-rl;
   filter: fliph() flipV();
}
</style>

Then set this style for your grid header.
 
Share this answer
 
Comments
Rajan Shuklan 27-Oct-12 0:10am    
but this will only work with IE can i do this by making changes in in .cs file
.NET_development 11-Feb-14 9:10am    
writinng-mode doesn't work !!!
.NET_development 11-Feb-14 9:20am    
in CSS 3.0;
instead of = writing-mode: tb-rl;
you should use = -ms-writing-mode:tb-rl;

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900