Community & Support
Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Window > Printing RadWindow in IE
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Printing RadWindow in IE

Feed from this thread
  • bo avatar

    Posted on Feb 4, 2010 (permalink)

    My situation is this. 
    Main window opens RadWindow1 which opens RadWindow2.  From RadWindow2 I run the code below.  In FF and Chrome it works like a charm.  In IE it prints RadWindow1 instead of RadWindow2

    <script language=
    'javascript'
        function GetRadWindow() 
        { 
            var oWindow = null
            if (window.radWindow) oWindow = window.radWindow; 
            else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; 
            return oWindow; 
        }  
        window.onload = function()  
        {  
            GetRadWindow().GetContentFrame().contentWindow.focus();  
            GetRadWindow().GetContentFrame().contentWindow.print();  
        } 
    </script>

  • Georgi Tunev Georgi Tunev admin's avatar

    Posted on Feb 5, 2010 (permalink)

    Hello bo,

    I already answered your support ticket on the same subject. For convenience I pasted my reply below:


    This issue is not directly related to the RadWindow control but to the way IE prints IFRAMEs (RadWindow is basically an IFRAME). In IE, you need to use
     printDocument.execCommand("Print");

    More details on the subject are available in this KB article.




    Best wishes,
    Georgi Tunev
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Window > Printing RadWindow in IE