IFRAME Size
IFRAME Size
I've set ScrollbarsMode=true on the StiWebViewer control and now my report is rendered in an IFRAME with a border and who's height stops half way down the page. Is there any way of fixing this?
I also tried looking at the supplied Web Demo and the issue also applies here. You can see the issue in the attached screenshots.
Resizing the browser window also does not resize the frame or variable input container.
We've not applied any styles to cause this.
Your online demo appears to be unaffected - http://web.stimulsoft.com/
I also tried looking at the supplied Web Demo and the issue also applies here. You can see the issue in the attached screenshots.
Resizing the browser window also does not resize the frame or variable input container.
We've not applied any styles to cause this.
Your online demo appears to be unaffected - http://web.stimulsoft.com/
- Attachments
-
- Screenshot 2
- shot2.PNG (65.42 KiB) Viewed 3373 times
-
- Screenshot 1
- shot1.PNG (71.26 KiB) Viewed 3373 times
Re: IFRAME Size
Hello,
Please try to upgrade to the latest prerelease build from our website.
Thank you.
Please try to upgrade to the latest prerelease build from our website.
Thank you.
Re: IFRAME Size
Hi,
I tried this with the 08.10 build but the same problem persists.
I tried this with the 08.10 build but the same problem persists.
Re: IFRAME Size
Hello,
Please check the attached sample project.
Thank you.
Please check the attached sample project.
Thank you.
Re: IFRAME Size
That's a little better in that the viewing area is larger, however it still doesn't resize with the browser and expands outside of the browser area (see attachment).
- Attachments
-
- shot1.PNG (119.55 KiB) Viewed 3349 times
Re: IFRAME Size
Hello,
If you delete the unnecessary elements from the page (the button), then a viewer will stretch to 100% height of the window. Viewer is always stretched to the height of the parent element.
Thank you.
If you delete the unnecessary elements from the page (the button), then a viewer will stretch to 100% height of the window. Viewer is always stretched to the height of the parent element.
Thank you.
Re: IFRAME Size
This is what the HTML looks like:
And it still does it.
Note: This is using the latest stable release, although it also does it with the latest preview release as well.
Code: Select all
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="stim_report.aspx.cs" Inherits="StudyGroup.ARP.Website.StimulsoftReportPage" %>
<%@ Register assembly="Stimulsoft.Report.Web, Version=2012.1.1300.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a" namespace="Stimulsoft.Report.Web" tagprefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
html, body, form {
height: 100%;
}
</style>
</head>
<body>
<form id="mainform" runat="server">
<input id="panel" clientidmode="Static" type="hidden" value="" runat="server" />
<input id="reportType" clientidmode="Static" type="hidden" value="stim" runat="server" />
<input id="reportParams" clientidmode="Static" type="hidden" value="" runat="server" />
<div>
<cc1:StiWebViewer ID="webViewer" runat="server" Width="100%" Height="100%" RenderMode="AjaxWithCache"
ShowBookmarksButton="False" ShowParametersButton="False" EnableTheming="True"
ServerTimeOut="00:15:00" ShowPageShadow="False"
ZoomPercent="75" AllowBookmarks="False" AllowPrintBookmarks="False"
ViewStateMode="Enabled" ScrollBarsMode="True" />
</div>
</form>
<%= WebExtensions.CombresLink("reportCss") %>
<%= WebExtensions.CombresLink("reportJs") %>
</body>
</html>
Note: This is using the latest stable release, although it also does it with the latest preview release as well.
Re: IFRAME Size
Hello,
Please specify do you want to display the viewer on the full screen without scroll bars or the with the scroll bars mode? (the ScrollBarsMode property)
Thank you.
Please specify do you want to display the viewer on the full screen without scroll bars or the with the scroll bars mode? (the ScrollBarsMode property)
Thank you.
Re: IFRAME Size
With scrollbars, otherwise if the report is zoomed to 100% it goes outside of the viewing area. We usually get a vertical scrollbar but there's no way to scroll horizontal.
Re: IFRAME Size
Hello,
Please check this sample web project:
Thank you.
Please check this sample web project:
Thank you.