cancel
Showing results for 
Search instead for 
Did you mean: 

how hide gray bar around report?

Former Member
0 Kudos

Hello!

We need customize CrystalReportsViewer (version CR 2008) in our ASP.NET Applicaton.

We need public in page only report (without toolbar and borders).

We know how hide toolbars.

But how hide gray bar around report?

Who can help?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Adam_Stone
Active Contributor
0 Kudos

You want to set the DocumentView on the CrystalReportViewer to use web layout instead of print layout.

Former Member
Adam_Stone
Active Contributor
0 Kudos

Did you try that property setting? If I remember correctly it does what you want

Former Member
0 Kudos

Of course.

I've worked with all versions starting from CR 9.

and everywhere it is easy to solve.

But it (CR 2008) makes me crazzy.

Adam_Stone
Active Contributor
0 Kudos

CrystalReportViewer1.HasDrilldownTabs = False

Former Member
0 Kudos

no...

this can hide oly tab on top of page.

but bar around page not change

Adam_Stone
Active Contributor
0 Kudos

This is all the code in my application and I have no borders at all


CrystalReportViewer1.ReportSource = Server.MapPath("myreport.rpt")
CrystalReportViewer1.DocumentView = CrystalDecisions.Shared.DocumentViewType.WebLayout
CrystalReportViewer1.DisplayToolbar = False
CrystalReportViewer1.HasDrilldownTabs = False

Former Member
0 Kudos

which version cr you use - 2008?

Adam_Stone
Active Contributor
0 Kudos

Yep, with SP3 and FP3.3

Former Member
0 Kudos

SP3 close problem.

It make me crazzy!!!

Thanks.

Answers (0)