sample code for setting up ReportViewer Page Layout attributes or methods before running the progra

D

Davood Riazi

Hi,I have a problem to write a metod in C# for setting up ReportViewer Page Layout Attributes before building my project in Design time . for example ,i want to write a code in my ReportForm.cs to show my ReportViewer layout preview for users to be exactly A4 page size or my ReportViewer BorderStyle to be "Solid" without let to the users set up output by clicking Page Setup Icon in Toolbar Menu themselves.(For Example like this code :this.ReportViewer1.BorderStyle="Solid" ; but it dosen't work correctly!So I want a sample code for setting up ReportViewer Page Layout attributes or methods before running the program or tell me how can i solve my problem.

Thanks


Posted via DevelopmentNow.com Group
http://www.developmentnow.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top