By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,084 Members | 1,956 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,084 IT Pros & Developers. It's quick & easy.

Urgent c# question - print friendly version

P: n/a
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!

Jun 14 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.