This is a migrated thread and some comments may be shown as answers.

RadWindow Issue

0 Answers 41 Views
Window
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 05 Jun 2018, 07:27 PM

Hi, 

I'm using a radWindow that opens when I click my export to excel link on an aspx page. The Export to Excel link is working fine when I use IE and Firefox but when it comes to Chrome, I have to click multiple times just to get the link working. Below is my code

==========================================================================

function GetRadWindow() {
            var oWindow = null;
            if (window.radWindow) oWindow = window.radWindow;
            return oWindow;
        }

==========================================================================

if (args != 'ExportContract') {
                 var displayResultOnNewTab = window.open(targetURL, "_blank");
            }
            else {
                var oWnd = GetRadWindow();
                if (oWnd != null) { oWnd.close();}

                var wnd = radopen(targetURL, null);
                wnd.restore();
                var viewPortHeight = document.body.clientHeight;
                var viewPortWidth = document.body.clientWidth;
                wnd.set_modal = true;
             //   wnd.maximize();
                wnd.setSize(200, 200);
                wnd.center();
            }
            return false;

==========================================================================

Help please and thank you!

No answers yet. Maybe you can help?

Tags
Window
Asked by
William
Top achievements
Rank 1
Share this question
or