Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / May 2007

Tip: Looking for answers? Try searching our database.

Reporviewer localreport margins

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
esoci - 25 May 2007 18:48 GMT
Looking for Steven Cheng [MSFT] and Mr. Walter Wang...

I have created rdlc files and when I load them into Report Viewer at run
time they appear OK, If I click on 'Print layout' button on Report Viewer
the view again appears unacceptable and clicking on 'Page setup' button the
margins left & right are not what I set on the rdlc file at design time
(1.5cm) they are 5.9mm.

I found Mr. Cheng and Mr. Wang answer to this question about a year ago
(june 2006) telling the ReportViewer control always perform a fixed
proportion calculation when migrate the margins setting from report
definition template(rdlc) to its own page settings properties (displayed in
page setup dialog):

this.m_pageProperties = new ReportPageSettings((int)
((result1.PageProperties.LeftMargin / 25.4) * 100), (int)
((result1.PageProperties.RightMargin / 25.4) * 100), (int)
((result1.PageProperties.TopMargin / 25.4) * 100), (int)
((result1.PageProperties.BottomMargin / 25.4) * 100));

Mr. Cheng confirmed that was an issue of Visual Studio 2005 and told You
have filed that in our database and hopefully that will be fixed in Visual
Studio 2005 SP1.

I'm using VS 2005 ITA SP1 but the 'margin issue' has not gone... any
suggestion?

My best regards.
Steven Cheng[MSFT] - 28 May 2007 05:51 GMT
Hi esoci,

Yes, I have ever worked on such a problem of the winform reportviewer
printing layout setting. So far I haven't got definite confirm that this
problem is fixed in Visual Studio 2005 SP1 as when I raised this issue, it
is much closer to the release of Visual Studio 2005 sp1.

If you're facing the same problem and want a quick fix or resolution, I
suggest you directly contact CSS as it may help you quickly contact product
team or find any rapid fix on this.

http://msdn.microsoft.com/subscriptions/support/default.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.