RadWindow Issue

1 posts, 0 answers
  1. William
    William avatar
    1 posts
    Member since:
    Jun 2018

    Posted 05 Jun 2018 Link to this post

    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!

Back to Top