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!

text rotation does not work on a web form?

Status
Not open for further replies.

JGALEY

IS-IT--Management
May 21, 2003
105
US
I have a report done in Crystal for Visual Studio.NET 2005 (Crystal 10), as part of an ASP.NET web site.

I did 90 degree text rotation in a crosstab header field to save space (so that the column header text flows up in a straight line). It works great in report preview, but when I load the report in a web form with the CrystalReportViewer, the text is not rotated. It is like the HTML generated cannot handle it.

Is there a way to make sure the text comes out on the web form with the proper rotation?

Thanks in advance,


Jason
 
holy moly! Look at this mad "solution" I found:


A CSS property called "writing-mode." So I tried it out, and it sorta works in IE. I just had to set a CSS class for the text field. The app is on an intranet, so I might be able to enforce IE use.

I am going to try to work out a couple quirks I have noticed.

Thanks a lot for the info on the workaround with the pdf! I suppose I could set up Crystal to export to the pdf on page opening (I will have to look into it). If my wacky CSS hack does not pan out, I will do something like this.

Jason
 
I've seen similar solutions offered, hopefully it will work out for you.

I also wondered if you might be able to embed HTML to do th same thing, but both are code intensive and kinda kludgy.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top