473,395 Members | 1,870 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,395 software developers and data experts.

LocalReport.GetDefaultPageSettings Not return correct report.rdlc properties

I don't see a way to use the page settings from the RDLC Report,
specifically to get it to print in Landscape. The PageHeight is set to
8.5in and the Width is set to 10in (for .5 in margins). I tried using the
LocalReport.GetDefaultPageSettings, but this returns 8.5in X 11in, or
Portrait mode. How do I obtain the proper, current settings that I have set
within the report.RDLC file. I need to be able to obtain these at runtime
so that I will be able to figure out wheter the report is in portrait or
landscape mode.

thanks
Mar 31 '06 #1
0 1993

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

Similar topics

1
by: Pieter | last post by:
Hi, I have a Report (VB.NET 2005), and I'm using Objects as DataSource. I have the object objCompany, which contains a public property MyAdress (instance of objAdress). objAdress has a propert...
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 ...
5
by: cpnet | last post by:
I'm able to pass string parameters with no problems to a LocalReport being displayed by the ASP.NET ReportViewer control. However, my report also has a DateTime parameter. ...
3
by: Oenone | last post by:
Sorry for the cross-post, but I'm not sure what the best place to post this is, and I'm getting a bit desparate. Part of our product uses the SQL Server Reporting engine to create reports in...
0
by: Rod | last post by:
I'm using: Microsoft.Reporting.WinForms.ReportPageSettings pgSettings = reportViewer1.LocalReport.GetDefaultPageSettings(); pgSettings.Margins.Right = 40; pgSettings.Margins.Left = 40; ... to...
0
by: =?Utf-8?B?a2VuIHM=?= | last post by:
I created a new report using the ReportViewer control and get this error message when trying to display it: An error occurred during local report processing. The report definition for report...
0
by: newkhan | last post by:
Hello, Here is a problem with rdlc report in .net 2005 with c#. I have made a rdlc report and bind it with data source with contains image also and its showing well. But my requirement is...
0
by: =?Utf-8?B?WmVk?= | last post by:
Good Day, I been looking for a day now and I couldn't find a good source of information. I have a one of a kind report wherein the RDLC file including all controls are programmatically generated...
1
by: avinash sh | last post by:
hi i am using matrix to rdlc report design because of some dynamic columns. but i am not able to use "previous" function of rdlc because it is not supported by matrix tool.. so how can i get the...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.