Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

Asp.net report viewer cut off on iPad Safari browser

$
0
0

I have a .Net framework 4.5 web form application.  And one of the web form pages contains a report viewer control to render reports from SQL Server 2012 reporting server.  Reports are rendered OK with Internet Explorer on my computer (Windows). But on iPad Safari browser, there is a problem.  Those same reports' width are cut off on the right; only one part (left hand side) of those reports are displayed/seen;  right hand side of those reports cannot viewed.  I cannot even scroll to the right of reports to see the rest of those report because  there is no horizontal scroll bar on Safari to move back and forth between right and left hand sides to view whole report. However, on ipad Safari, I can scroll up and down of reports thanks to natural vertical scroll bar from Safari.

Please help me to solve this issue either ways:

- The width of reports automatically fits that of iPad Safari browser so users do not need to scroll left and right to view those reports, 

- Or at least there appears automatically an horizontal bar on iPad Safari.  I prefer reports's width automatically firs that of iPad Safari.

Some more details of the current code behind of the aspx web form page that contains an asp.net report viewer server control whose ID is ReportViewer1 as follows:

 

protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["p"] != null)
            {

                // set up report viewer control whose ID is "ReportViewer1":

                ReportViewer1 .SizeToReportContent = true;
                ReportViewer1 .ZoomMode = ZoomMode.FullPage;

                .....
            }
        }

And markup codes for the report viewer

<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server"><rsweb:ReportViewer ID="ReportViewer1 " runat="server" AsyncRendering="False" Font-Names="Verdana" Font-Size="8pt" ProcessingMode="Remote" WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" 
        OnSubmittingParameterValues="ReportViewer1_SubmittingParameterValues"></rsweb:ReportViewer></asp:Content>




Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>