how to prevent printing of parent window from child radwindow

2 posts, 0 answers
  1. Richard
    Richard avatar
    9 posts
    Member since:
    May 2013

    Posted 23 Jul 2013 Link to this post

    hi,

    i have a parent window with a form that has a button that open new radwindow once clicked. 
    below is the code:

     protected void RadButton1_Click(object sender, EventArgs e)
        {
     RadWindow window1 = new RadWindow();
            window1.NavigateUrl = "newindow.aspx?lblqty=" + txtlblqty.Text;
            window1.VisibleOnPageLoad = true;
            window1.DestroyOnClose = true;
            window1.Height = 250;
            window1.Width = 350;
            window1.Top = 100;
            window1.Left = 100;
           
            RadWindowManager1.Windows.Add(window1);   
        }

    the new window will show total number of label based on txtlblqty.text in original form. when the radwindow is opened, I right clicked and click print, the parent window also included in the printing. 

    what can I do to prevent printing of the background of parent window and only print the content of this new window?

    thanks for any input!
  2. Richard
    Richard avatar
    9 posts
    Member since:
    May 2013

    Posted 23 Jul 2013 Link to this post

    prob resolved. thanks for reading!
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top