Page 1 of 1

WebViewer does not display drop-down menu in UpdatePanel

Posted: Mon Aug 22, 2011 12:13 pm
by fuhrj
I placed my webviewer control inside an ASP Update Panel. The report runs and displays correctly. However, the drop-down menu for Print and Save options does not show.

I've tried using different rendering modes with no success.

Code: Select all


    
    
    
        
    
    


Code: Select all

StiReport report = new StiReport();
                    report.Load(Server.UrlDecode(filename));

                    if (report != null) {

                        StiSqlDatabase db = (StiSqlDatabase)report.Dictionary.Databases[0];
                        db.ConnectionString = dbConnector.GetConnectionString();

                        report.Dictionary.Databases.Clear();
                        report.Dictionary.Databases.Add(db);

                        webViewer.Report = report;

                        UpdatePanelReport.Update();

[/code]
Thanks!

WebViewer does not display drop-down menu in UpdatePanel

Posted: Tue Aug 23, 2011 8:04 am
by Vladimir
Hello,

Unfortunately, the AjaxWithCache render mode is not compatible with Update Panel, please use the UseCache or Standard render mode.

Thank you.

WebViewer does not display drop-down menu in UpdatePanel

Posted: Tue Aug 23, 2011 11:31 am
by fuhrj
Thanks. Unfortunately none of those options worked.

I was able to find a workaround by using JQuery and an iFrame.

To auto-resize the iFrame, I used this JQuery plug-in:

https://github.com/house9/jquery-iframe ... ght#readme

WebViewer does not display drop-down menu in UpdatePanel

Posted: Wed Aug 24, 2011 5:31 am
by Vladimir
Hello,

For auto-resize you can also use this method (please see the attached archive).

Thank you.


WebViewer does not display drop-down menu in UpdatePanel

Posted: Wed Feb 08, 2012 5:00 am
by aikar
The exampe does not work for 2012.02.03

WebViewer does not display drop-down menu in UpdatePanel

Posted: Thu Feb 09, 2012 9:40 am
by Vladimir
Hello,

In the new version you can use Width="100%" and Height="100%" without any additional scripts.

Thank you.