Print Page | Close Window

Text object borders missing

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=97
Printed Date: 29 Apr 2024 at 5:28am


Topic: Text object borders missing
Posted By: KMeyer
Subject: Text object borders missing
Date Posted: 08 Jan 2007 at 7:10pm
I have just completed my first form style report in CR in Visual Studio 2005 ASP.NET and I am wondering if I have missed something in all my recent research and reading on report design with Crystal Reports.
 
I have used text objects with borders and database fields imbedded in them to create a form, the form previews nicely in the designer but at run time in the web Reportviewer only text and the data display, no borders so the whole report/form looks very unformated.
 
But when I print to pdf from the reportviewer the form generates correctly with its borders.
I am thinking the web based reportviewer may not support this type of formatting when previewing a report in a browser. Any feed back appreciated. Confused
 
Regards
Kim           



Replies:
Posted By: BrianBischof
Date Posted: 08 Jan 2007 at 8:13pm
Not printing text borders in certain circumstances was a bug in VS 2003.NET. I didn' t think it would be there in 2005 as well. I haven't checked yet, but if so then you are out of luck. Check their website to make sure you download the latest service pack and/or hotfix to make sure you have the latest builds. Since this is most likely their problem, you could make a call to tech support and they shouldn't charge you.

-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>


Posted By: KMeyer
Date Posted: 08 Jan 2007 at 8:59pm
Thanks Brian,
I thought it might have been a limitation with the web environment/viewer. Everything prints okay from the print button in the viewer, just looks terrible when viewed in the viewer.


Posted By: KMeyer
Date Posted: 08 Jan 2007 at 10:24pm
Brian,
Problem solved, after searching their site as suggested,  I removed the following default entry from a web page containing a reportviewer in a test application and my test form report now displays the borders on the text objects.
 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

This important info can be found hidden at the bottom of page 10 in the following link.
 
http://www.businessobjects.com/global/pdf/dev_zone/VS2005_Release_Notes.pdf - http://www.businessobjects.com/global/pdf/dev_zone/VS2005_Release_Notes.pdf  
 
This may be useful for others working with CR in Visual Studio 2005 & ASP.NET where they are formatting objects with borders. Smile
 
Regards
Kim


Posted By: BrianBischof
Date Posted: 09 Jan 2007 at 1:11am
That's great news Kim! Glad to see that they had some info on it. Thanks for following up here and giving us the link. I'm printing out that doc now to read it over more thoroughly. 


-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>


Posted By: KMeyer
Date Posted: 09 Jan 2007 at 5:47pm
Brian,
Just thought I would mention for anyone following this post that if they are using a Master page in their ASP.NET 2.0 application, then they will need to remove the entry from their Master page if using the Master page in conjunction with the CR reportviewer as it is inherited from there on any subsequent pages using a Master page.
 
Regards
Kim


Posted By: BrianBischof
Date Posted: 09 Jan 2007 at 8:57pm
Ah yes, good point. Thanks.

-------------
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>



Print Page | Close Window