472,954 Members | 1,589 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,954 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 1928
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Ronen Kfir | last post by:
I need to take as an input matrix N*M from stdin & print it as a matrix shape, something like: |6 8 2 4 7| |4 0 1 8 2| |3 1 5 2 6| |9 3 8 4 0| I don't have any idea how...
4
by: Steve Richter | last post by:
in the vs studio editor, I change the tab indent from 4 to 2. And my C# code displays with 2 characters per indent level instead of 4. But when I print, the indent is back to 4. also, when a...
7
by: mg | last post by:
How can I place tabs in a WebForm (C#). On each of the several tabs, I'd place what is now a seperate page (WebForm).
0
by: Lauchlan M | last post by:
<< Compiler Error Message: CS1595: 'myWebInterface.X.Y.AddEditUsers' is defined in multiple places; using definition from 'e:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET...
0
by: Lauchlan M | last post by:
<< Compiler Error Message: CS1595: 'myWebInterface.X.Y.AddEditUsers' is defined in multiple places; using definition from 'e:\WINNT\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET...
1
by: Gary Shell | last post by:
I am trying to figure out the best way to subdivide a project for multiple programmers. I am embarking on a new development project with one other person but with an idea in mind that we may need...
13
by: a.zeevi | last post by:
free() multiple allocation error in C ==================================== Hi! I have written a program in C on PC with Windows 2000 in a Visual C environment. I have an error in freeing...
0
by: Shane | last post by:
The standard tab control moves the selected tab row to the bottom row of tabs, if there are multiple rows of tabs. <Gack!It's horrible beyond belief! I understand the continuity of having a tab...
18
by: =?Utf-8?B?SGVyYg==?= | last post by:
I'm using a ReportViewer in ASP.NET. From the development environment it works fine. When published and I try to open the page with the ReportViewer I get the error: An internal error occurred...
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
1
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.