471,337 Members | 1,193 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

How to print multiple tabs of a webform

Rob
I have a webform that uses the TabStrip and MultiPage webcontrols. I also
have a Print button on the form to print all of the information of the
webform (all tabs):

<input type="button" value="Print" onclick="window.print()">

However, this only prints the first tab or PageView. To fix this problem,
I have added an @media rule to my stylesheet:

@media print
{
.PageView
{
display: block;
}
}

However, this still does not work. Is there a way to print all tabs of a
webform that uses the TabStrip and MultiPage webcontrols? Please do not
answer "create a printer friendly version of the webform".

Thank you in advance for any help.

Nov 19 '05 #1
2 1853
I believe and you can verify this by using view source, that only the
content of the active tab is rendered, so there is no way print can include
the othe content.
-- bruce (sqlwork.com)
"Rob" <Ro*@discussions.microsoft.com> wrote in message
news:98**********************************@microsof t.com...
I have a webform that uses the TabStrip and MultiPage webcontrols. I also
have a Print button on the form to print all of the information of the
webform (all tabs):

<input type="button" value="Print" onclick="window.print()">

However, this only prints the first tab or PageView. To fix this
problem,
I have added an @media rule to my stylesheet:

@media print
{
.PageView
{
display: block;
}
}

However, this still does not work. Is there a way to print all tabs of a
webform that uses the TabStrip and MultiPage webcontrols? Please do not
answer "create a printer friendly version of the webform".

Thank you in advance for any help.

Nov 19 '05 #2
Rob
Bruce, this is incorrect. The entire content of the webform is rendered.

I feel I am on the right track with using the stylesheet to do this, but I
am missing something. Is there a MS IE Webcontrol expert that knows
anything about this?

Thank you.

"Bruce Barker" wrote:
I believe and you can verify this by using view source, that only the
content of the active tab is rendered, so there is no way print can include
the othe content.
-- bruce (sqlwork.com)
"Rob" <Ro*@discussions.microsoft.com> wrote in message
news:98**********************************@microsof t.com...
I have a webform that uses the TabStrip and MultiPage webcontrols. I also
have a Print button on the form to print all of the information of the
webform (all tabs):

<input type="button" value="Print" onclick="window.print()">

However, this only prints the first tab or PageView. To fix this
problem,
I have added an @media rule to my stylesheet:

@media print
{
.PageView
{
display: block;
}
}

However, this still does not work. Is there a way to print all tabs of a
webform that uses the TabStrip and MultiPage webcontrols? Please do not
answer "create a printer friendly version of the webform".

Thank you in advance for any help.


Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Ronen Kfir | last post: by
4 posts views Thread by Steve Richter | last post: by
7 posts views Thread by mg | last post: by
13 posts views Thread by a.zeevi | last post: by
18 posts views Thread by =?Utf-8?B?SGVyYg==?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.