Situation:
1. have one default.aspx file
2. inside default.aspx file, contains several usercontrol, .ascx file, e.g.
1.ascx, 2.ascx
3. in the 1.ascx file, there is a print button or link 4. when this print
button is clicked, it should open a popup window which is the same as 2.ascx
except the header, footer and some unnecessary controls in the 2.ascx.
Question:
1. what's the best way to handle it?
2. Should I create a separate page for 2.ascx which is print friendly
version? so when the print button is clicked, open it.
3. I have tried to use javascript in the .ascx file, but it doesn't even
works in .aspx
Thanks in advance for any help!