We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Print Layout changes height and width: Columns wrap to next page as a result

Thread ID:

Created:

Updated:

Platform:

Replies:

123900 Apr 29,2016 10:30 PM UTC May 2,2016 11:57 AM UTC ASP.NET Web Forms 1
loading
Tags: ReportViewer
Jason Curley
Asked On April 29, 2016 10:30 PM UTC

My report looks good when it first displays, but it doesn't show any margins.  When I click "Page Layout", the margins are displayed, but the Page Size gets set to "Custom" (the Height gets set to 8.5" and Width gets set to 11").  So, although the orientation states Portrait, it appears as though it's now landscape.

If I now change my Paper Size back to Letter, the last 3 columns on my report get wrapped to the next page.  Any ideas, suggestions?  I tried setting the font size to be smaller, but that didn't appear to work: The font size appeared to remain the same size.

----------------

I am also trying to replace MS ReportViewer with SF ReportViewer.  Are the details of incident #136361 available?  I could not find it, but I would like to know what options are available, because it could mean a lot less work for me.

Thanks!



Sundaraj Muthunarayanan [Syncfusion]
Replied On May 2, 2016 11:57 AM UTC

Hi Jason,  
Thanks for contacting Syncfusion Support. 
Query 
Answer 
My report looks good when it first displays, but it doesn't show any margins.  When I click "Page Layout", the margins are displayed, but   the Page Size gets set to "Custom" (the Height gets set to 8.5" and Width gets set to 11").  So, although the orientation states Portrait, it appears as though it's now landscape. 
We are unable to replicate the mentioned issue at our end. We have prepared a working sample and it can be downloaded from the below location. 
Sample link:  
  
 If the issue still persists, then confirm your product version and share the reproducible steps or video to validate this issue at our end. 
I am also trying to replace MS ReportViewer with SF ReportViewer.  Are the details of incident #136361 available?  
Sorry, you could not able to see other customer’s incidents. But we have provided the same solution here,  
Solution: 
Please note our ASP.NET EJ version of ReportViewer is a ASP.NET Wrapper control for our JavaScript ReportViewer. It doesn’t support to specify the asp.net data sources as inner tag element inside ReportViewer in aspx. However, you can add data sources at code behind using ReportViewer’s  “DataSources” property. Please refer the below code snippet. 
        protected void Page_Load(object sender, EventArgs e) 
        { 
            if(!this.IsPostBack) 
            { 
                this.ReportViewer1.DataSources.Clear(); 
                this.ReportViewer1.DataSources.Add(new ReportDataSource { Name ="Customers", Value = Customers.GetData() }); 
            } 
        } 
For your convenience, we have create a sample to demonstrate this and the same can be downloaded from the below link. 
Additionally, you can use Api controller IReportController methods to add the data sources and parameters. Please refer our online UG document below for more details. 
 
   
Regards, 
Sundaraj M 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;