473,396 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Margins in ReportViewer

Using the WebForms.ReportViewer when I export to PDF, the margins of the
report are too large. How can I change the margins of my report to make
better use of the printed page space?

Apr 20 '07 #1
4 16682
Hi Herb,

As for the report margin of ASP.NET Webform ReportViewer displayed report,
are you using Server Report from SQL Server reporting service or local
client report(rdlc file) in project?

Based on my experience, for the Reporting Service report, the margins are
configured through the report page's layout setting and are stored in RDL
file(for server report) or RDLC file(for visual studio developed client
report). Whenever, you're designing a report, in the design-time "layout"
view, you can configure the "margins" for the report through the following
steps:

1. click on the background of the report

2. In the property window, locate the "Layout" category and you can find
the "Margins" setting

After you change this margins setting, it will reflect to the exported PDF
and TIFF report output. For normal HTML output, margin is not displayed.

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================

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

Apr 23 '07 #2
I am using the rdlc report within the project. When in Design mode of the
rdlc, I have a Body section. The Properties for the Body do not have a Layout
option. Where do I find the Layout property?

"Steven Cheng[MSFT]" wrote:
Hi Herb,

As for the report margin of ASP.NET Webform ReportViewer displayed report,
are you using Server Report from SQL Server reporting service or local
client report(rdlc file) in project?

Based on my experience, for the Reporting Service report, the margins are
configured through the report page's layout setting and are stored in RDL
file(for server report) or RDLC file(for visual studio developed client
report). Whenever, you're designing a report, in the design-time "layout"
view, you can configure the "margins" for the report through the following
steps:

1. click on the background of the report

2. In the property window, locate the "Layout" category and you can find
the "Margins" setting

After you change this margins setting, it will reflect to the exported PDF
and TIFF report output. For normal HTML output, margin is not displayed.

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================

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

Apr 23 '07 #3
Nebermind, I found it. When in design mode there is a square in the upper
left-hand corner. If I click it, I get Report Properties. There still isn't a
"Layout" property, but there are "Margins" properties.

Thanks,
Herb

"Herb" wrote:
I am using the rdlc report within the project. When in Design mode of the
rdlc, I have a Body section. The Properties for the Body do not have a Layout
option. Where do I find the Layout property?

"Steven Cheng[MSFT]" wrote:
Hi Herb,

As for the report margin of ASP.NET Webform ReportViewer displayed report,
are you using Server Report from SQL Server reporting service or local
client report(rdlc file) in project?

Based on my experience, for the Reporting Service report, the margins are
configured through the report page's layout setting and are stored in RDL
file(for server report) or RDLC file(for visual studio developed client
report). Whenever, you're designing a report, in the design-time "layout"
view, you can configure the "margins" for the report through the following
steps:

1. click on the background of the report

2. In the property window, locate the "Layout" category and you can find
the "Margins" setting

After you change this margins setting, it will reflect to the exported PDF
and TIFF report output. For normal HTML output, margin is not displayed.

Hope this helps.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================

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


Apr 23 '07 #4
Hi Herb,

Yes, for the RDLC client report, the design-time surface is the same as the
RDL server report designer. And the "Layout" is not a property, it is a
category which include those properties associate with layout designing.
For example, the "Margins", "PageSize", "InteractiveSize" ..

If you have any further question or meet anything else need help, please
feel free to post here.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.

Apr 24 '07 #5

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

Similar topics

1
by: Pieter | last post by:
Hi, In my application VB.NET 2005 application I placed a ReportViewer, and link it to a server-report: Me.ReportViewer1.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Remote...
1
by: steve | last post by:
Hi All I need help on how to manipulate the data returned from the database for displaying in the new reportviewer at runtime So far I have an rdlc file with a dataset, binding source and...
7
by: steve | last post by:
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 ...
1
by: Rich | last post by:
Hello, I am trying to use the Reportviewer control. I have been following an example from the web, and the instructions from the help files on set up a ..rdlc and binding it to the reportviewer...
0
by: Rich | last post by:
Hello, I started using the Reportviewer control (very nice) for generating Reporting Services type reports in my VB2005 app. I have been experimenting using a designer Reportviewer control from...
1
by: Rich | last post by:
Hello, I need to print a report from the VS2005 Reportviewer control. My problem is that I need to print to a tractor feed (dotmatix like) printer that is not the default printer - for printing...
0
by: Fred G. Sanford | last post by:
Firstly, I am a fairly new .Net developer, so please excuse any dumb/ignorant questions or comments. Thanks. I created a VWD Express project, which uses the ReportViewer control, on my local...
10
by: AG | last post by:
I am trying to use a ReportViewer control in a VS 2005 web application project (not Website project). When I try to create a new report (local), I can't seem to find any method to create a...
5
by: =?Utf-8?B?Y2hlY2tyYWlzZXJAY29tbXVuaXR5Lm5vc3BhbQ== | last post by:
I have a VS 2008 ASP.NET webform that has a reportview tag on it, accessing an .RLDC report in local report. The columns for the report are essentially: Month Item #1 Item#2 Item#3 ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.