Printing RadWindow in Internet Explorer

4 posts, 0 answers
  1. Stephanie
    Stephanie avatar
    139 posts
    Member since:
    Aug 2013

    Posted 05 Mar 2014 Link to this post

    Is there a way to correctly print the contents of a RadWindow in Internet Explorer. We recently switched all of our popups to the radwindow and now clients using IE cannot print. They are having the rad window contents overlay the actual window when printing. The other browsers print the radwindow just fine. Please help us fix this in IE.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 05 Mar 2014 in reply to Stephanie Link to this post

    Hi Stephanie,

    Please have a look into this code library for printing the contents of RadWindow.

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Stephanie
    Stephanie avatar
    139 posts
    Member since:
    Aug 2013

    Posted 06 Mar 2014 in reply to Shinu Link to this post

    Hello Shinu,

    Thank you for the info. I am still a bit confused. For the print window we are currently using a standard html link with an onclick attribute.

     lnkPrint.Attributes.Add("onclick", "openRadWindow('" + Constants.P_PRINT + "?print=y&schedule=" + c.ID.ToString() + "'); return false;");

    That works fine everywhere except IE. We also have a print preview that is using:

                            // Print Preview
                            radPrintPreview.OpenerElementID = lnkPreview.ClientID;
                            radPrintPreview.NavigateUrl = Constants.P_PRINT + "?schedule=" + c.ID.ToString();
                            radPrintPreview.MinHeight = 500;
                            radPrintPreview.MinWidth = 700;
                            radPrintPreview.Behaviors |= Telerik.Web.UI.WindowBehaviors.Resize;

    If you right click that radwindow in IE it will print without overlaying just fine, but the text is pretty small. Both radwindows display the exact same page behind the scenes. The only difference is when you pass print=y in the querystring, then it calls JavaScript to print the page:

                function PrintPage() {
                    window.setTimeout("window.print()", 250);  
                    window.setTimeout("close()", 250);
                }

    I know it is an IE issue, but what is the easiest way to fix all the print windows we have? We have a lot :)

  5. Stephanie
    Stephanie avatar
    139 posts
    Member since:
    Aug 2013

    Posted 06 Mar 2014 in reply to Stephanie Link to this post

    Nevermind. I just replaced our JavaScript with what was in the code library link and that fixed it in IE.
Back to Top