473,772 Members | 3,603 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Report viewer Page margins problem

Hi All

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
acceptable

If I click 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

If I click OK on the 'Page Setup' form the Report margins change to the
margins from 'Page setup'

If I open ''Page setup' again the margin settings are now less than
previously set and clicking OK results in the report margins changing again
What am I missing??
Regards
Steve
Jun 10 '06 #1
7 21746
Further to the previous post

How can I centre the Report in the Report Viewer

Currently when I run the program the Report is left aligned in the Report
Viewer

I would like to have the Report Viewer wider than the actual report and
centred
Regards
Steve
"steve" <ga*****@newsgr oups.nospam> wrote in message
news:ut******** ******@TK2MSFTN GP04.phx.gbl...
Hi All

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 acceptable

If I click 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

If I click OK on the 'Page Setup' form the Report margins change to the
margins from 'Page setup'

If I open ''Page setup' again the margin settings are now less than
previously set and clicking OK results in the report margins changing
again
What am I missing??
Regards
Steve

Jun 10 '06 #2
Steve,

I see that Steven is answering your questions about Report Viewer.
As advice stay in the same messagethread, now it will normally takes more
than 24 hours to reply you (as he sees this) while if you had replied him
direct in the thread where he is helping you for sure would have answered
you in those 24 hours (on normal working days).

As well do we in general not like it in this newsgroup if somebody opens new
messagethreads accoording to another question already askes, we start than
again while most of the information is already given.

Cor

"steve" <ga*****@newsgr oups.nospam> schreef in bericht
news:ut******** ******@TK2MSFTN GP04.phx.gbl...
Hi All

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 acceptable

If I click 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

If I click OK on the 'Page Setup' form the Report margins change to the
margins from 'Page setup'

If I open ''Page setup' again the margin settings are now less than
previously set and clicking OK results in the report margins changing
again
What am I missing??
Regards
Steve

Jun 10 '06 #3
Hi Cor

Thanks for the advice

Regards
Steve
"Cor Ligthert [MVP]" <no************ @planet.nl> wrote in message
news:Ol******** ******@TK2MSFTN GP04.phx.gbl...
Steve,

I see that Steven is answering your questions about Report Viewer.
As advice stay in the same messagethread, now it will normally takes more
than 24 hours to reply you (as he sees this) while if you had replied him
direct in the thread where he is helping you for sure would have answered
you in those 24 hours (on normal working days).

As well do we in general not like it in this newsgroup if somebody opens
new messagethreads accoording to another question already askes, we start
than again while most of the information is already given.

Cor

"steve" <ga*****@newsgr oups.nospam> schreef in bericht
news:ut******** ******@TK2MSFTN GP04.phx.gbl...
Hi All

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 acceptable

If I click 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

If I click OK on the 'Page Setup' form the Report margins change to the
margins from 'Page setup'

If I open ''Page setup' again the margin settings are now less than
previously set and clicking OK results in the report margins changing
again
What am I missing??
Regards
Steve


Jun 10 '06 #4
Thanks for Cor's good suggestion.

Hi Steve,

I've also seen your new message in the previous thread. Since this should
be a new question and the previous one has been resolved, I think it proper
to contiue this new session in this thread. If you also feel this
comfortable, I'll close the original one and continue discussing with you
here.

As for the "page setup----> margins" issue, I've performed some tests in my
local environment, and did reproduce the same behavior as you said.
Actually, the value displayed in the "pagesetup" dialog and the original
value (set in rdlc template) is in a fixed proportion. I've just
investiaged the reportviewer's code and found that the ReportViewer control
will always perform the following calculation when migrate the margins
setting from report definition template(rdlc) to its own page settings
properties(will be displayed in page setup dialog):

=============
this.m_pageProp erties = new ReportPageSetti ngs((int)
((result1.PageP roperties.PageH eight / 25.4) * 100), (int)
((result1.PageP roperties.PageW idth / 25.4) * 100), (int)
((result1.PageP roperties.LeftM argin / 25.4) * 100), (int)
((result1.PageP roperties.Right Margin / 25.4) * 100), (int)
((result1.PageP roperties.TopMa rgin / 25.4) * 100), (int)
((result1.PageP roperties.Botto mMargin / 25.4) * 100));
===============

So the /25.4 * 100 can explain the different value we encountered,
however, I still haven't got the reason of this formula(seems an incorrect
unit translation). Anyway, I'm currently consulting some other dev tools
guys on this so as to get some further information on this. I'll update
you whenever I got some new info.

Thanks for your understanding.
Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

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

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jun 12 '06 #5
Hi Steve,

Sorry for keeping you waiting. Currently I'm still waiting for some update
from our product team's guys. Just post this message you let you know that
we're still focus on this issue.

Thanks for your understanding and patience.

Regards,

Steven Cheng
Microsoft MSDN Online Support Lead
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

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

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jun 15 '06 #6
Hi Steve,

Sorry for reply to you so late. We have reported this issue to our product
group and we're still investigating it. Thank you for your understanding
and patience.

Regards,
Walter Wang
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

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

Jun 20 '06 #7
Hi Steve,

We have confirmed this is an issue of Visual Studio 2005. We have filed it
in our database and hopefully it will be fixed in Visual Studio 2005 SP1.

If this is an urgent or critical issue in your product development, I would
recommend you contact CSS (Customer Support and Service) to open a regular
support incident, so that you can request a hotfix on this issue. You can
refer to this newsgroup thread when contacting CSS and include me in the
email thread when you interact with our support engineers. I will be happy
to provide more details on this issue to the support engineer to expediate
the issue resolution process.

You may contact MSDN representatives to submit your incident online or
through phone:
http://msdn.microsoft.com/subscripti...t/default.aspx
As an MSDN Subscriber, you are entitled to receive up to four support
incidents depending on your subscription level. But since this is a
confirmed product issue, the incident will be free.

Please feel free to post here if anything is unclear.

Regards,
Walter Wang
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

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

Jun 22 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2362
by: JIM.H. | last post by:
Hello, I embedded SQL Reporting services report viewer in my asp.net application and when I say Debug->Start it works fine, however if I run my application in another machine report object does not coming up and IE gives HTTP 404 - File not found got report object. There are other components in my application like a textbox, it comes fine. What is problem? Thanks, Jim.
3
1764
by: Chris Botha | last post by:
I have a Report Viewer control on a Web page. I want the control to size automatically as the Web page sizes, so I've set the control's width property to 90% and the height property to 90% as well. When the Web Page loads, the report shows blank. It does not show blank in the following two cases: If I set the height to a fixed value, for example 500px. If I add Java Script to the page to size the height of the control (which renders as a...
0
1402
by: Ralf | last post by:
My customer would like for the page to display with a wider data area. As it is, it only shows the data running about 3/4 the way across the browser. He would like it to reach further across b/c it does not accomodate all of his attributes he wants to show. He wants them lined up from left to right, but some get chopped off. Is there anything I can do here, or is this just a limitation with it??
1
7514
by: monskie | last post by:
Hello to all, I have a problem which could be trivial to you guys. This concerns opening several crystal reports on the a crystal viewer on an ASPX page by calling window.open. My application. 1.) 2 webforms - 1 main web form that filters that dataset - 1 reportviewer web form that displays the filtered dataset.
7
27683
by: steve | last post by:
Hi All I need to change text in a Report Viewer document at runtime It is just the heading I want to change to match what the user has chosen as the Report to view How do I access the textbox in "GymMaster.Memberships.rdlc" (below) to change the text sql = "select * from members order by surname"
4
1509
by: nicomp | last post by:
VS 2005: I created a report and I added it to a report viewer on a web page. When I view the page in my browser I can see a little sliver of what might be the report on the left edge of the report viewer. I can page down to the last page and I can see a sliver of the report footer. No error messages are generated. What am I doing wrong? I changed the margins, etc., no effect. When I export the report to Excel from the report viewer it...
0
2978
by: John Smith | last post by:
Hello, I am developing a VB.NET 2003 application that will use lots of Crystal Reports. Sometimes the users will preview a report in a Crystal report viewer, and sometimes they will send the report directly to the printer bypassing the Crystal report viewer altogether. When sending the job directly to the printer I use the PrintToPrinter command CR.PrintToPrinter(1, False, 0, 0)
0
1250
by: David C. Barber | last post by:
How can I determine if a report in the Crystal Report Viewer on an ASP page has been printed by the user? It's important to know the difference between someone just viewing a report, and actually printing it. In olde days (e.g. VB6) I could hide the print button on the on the report viewer itself, put my own print button on the screen, and log the print action at the same time I called the Print method for the viewer myself. This new...
0
1582
by: David C. Barber | last post by:
How can I determine if a report in the Crystal Report Viewer on an ASP page has been printed by the user? It's important to know the difference between someone just viewing a report, and actually printing it. In olde days (e.g. VB6) I could hide the print button on the on the report viewer itself, put my own print button on the screen, and log the print action at the same time I called the Print method for the viewer myself. This new...
0
9620
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7460
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6715
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.