Page 1 of 1

Size of StiWebViewerFx on web page

Posted: Mon Apr 04, 2011 6:38 pm
by jay@bplogix.com
I am using the StiWebViewerFx control to view a report in the web browser. It looks like the control automatically sizes itself to the size of the window. Normally that is great. But with my report, I am putting some HTML content at the top of the page ... and the flash StiWebViewerFx control under my content in a . This causes the flash report viewer to be displayed with scroll bars in the browser. It seems that it is sizing the flash control "too big". How can I display the report in the flash control using the "available" window size.
Here is the HTML I am using to display the report ... notice at the top is just some "dummy" HTML that causes the scroll bars to appear (obviously in my actual page it is real HTML, but this sample demonstrates my problem).















some stuff!!

This HTML causes the flash control to show scroll bars in the Internet Explorer 8 browser!!

some stuff!!










Size of StiWebViewerFx on web page

Posted: Wed Apr 06, 2011 5:04 am
by Vladimir
Hello,

You have not specified the height StiWebViewerFx component. Please specify necessary height, what would your HTML content is displayed correctly:
Thank you.

Size of StiWebViewerFx on web page

Posted: Wed Apr 06, 2011 8:13 pm
by jay@bplogix.com
But if I leave out the height/width ... it seems to have an affect like 100% / 100%. basically it sizes (and resizes) automatically to the size of the window. This normally works great, except if I have some HTML at the top of the page. How can the report viewer automatically size to the remaining space on the page.

thx

Size of StiWebViewerFx on web page

Posted: Thu Apr 07, 2011 2:47 am
by Vladimir
Hello,

Please show us the C# script of this page (report.aspx.cs), where you load a report for viewing in the WebViewerFx.

Thank you.