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

how to prevent printing of parent window from child radwindow

1 Answer 46 Views
Window
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 23 Jul 2013, 07:01 AM
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!

1 Answer, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 1
answered on 23 Jul 2013, 01:59 PM
prob resolved. thanks for reading!
Tags
Window
Asked by
Richard
Top achievements
Rank 1
Answers by
Richard
Top achievements
Rank 1
Share this question
or