Page 1 of 1
2011.3 Flash Viewer does not size to full page anymore
Posted: Wed Dec 07, 2011 3:46 pm
by jay@bplogix.com
In the previous versions, StiWebViewerFx was able to automatically size itself to the browser page size. Now on the new version, it does not seem to have this ability. Here is the web content I previously used to auto-size the flash viewer:
Untitled Page
html, body, form { height: 100%; margin: 0px; }
Is there now a different way of accomplishing this?
Thanks
2011.3 Flash Viewer does not size to full page anymore
Posted: Thu Dec 08, 2011 2:24 am
by Vladimir
Hello,
In the new release for WebViewerFx component the default size have been determined. To set the 100% width and height, please use the following code:
Also, you can use the following code to show the viewer:
StiWebViewerFx1.Show(report);
In this case, all the page sizes will be ignored.
Thank you.
2011.3 Flash Viewer does not size to full page anymore
Posted: Thu Dec 08, 2011 1:40 pm
by jay@bplogix.com
That does size the flash to the entire size of the window ... but what if I have HTML content "above" the flash report (in my examples I have simple HTML that shows status of external stuff above the flash report. For instance, previously your support helped me to set up this page like this:
Untitled Page
html, body, form { height: 100%; margin: 0px; }
This is just some header information
This is some more header information
In that example the flash viewer correctly sized to use all available space below the HTML content, and it did not add scroll bars. The new version sizes the flash window to the entire size of the window, so that the bottom part of the flash report is not visible, and scroll bars are needed to scroll down a couple inches. How can this be done in the new version?
Thanks!
2011.3 Flash Viewer does not size to full page anymore
Posted: Fri Dec 09, 2011 3:54 am
by Vladimir
Hello,
We tested the old version 2011.2, a component works the same way as for the values Width="100%" Height="100%" in the new version.
Thank you.
2011.3 Flash Viewer does not size to full page anymore
Posted: Fri Dec 09, 2011 2:19 pm
by jay@bplogix.com
Yes, but in the previous version I did not specify the height and width on the report control ... It used the height of the container DIV (this was based on samples support gave me). In my sample in previous post notice the attributes in the DIV and the page styles. How can I accomplish the same result in the new version?
Thanks
2011.3 Flash Viewer does not size to full page anymore
Posted: Tue Dec 13, 2011 6:46 am
by Vladimir
Hello,
Please try this code:
Thank you.
2011.3 Flash Viewer does not size to full page anymore
Posted: Wed Dec 14, 2011 4:08 pm
by jay@bplogix.com
Thanks that works! Actually the width needed to set to 100%:
2011.3 Flash Viewer does not size to full page anymore
Posted: Thu Dec 15, 2011 9:02 am
by Vladimir
You're welcome!