Print and the Tabstrip webcontrol

R

Rob

I am utilizing the Tabstrip webcontrol on a .NET
Webform. On the same Webform is a button that invokes a
client-side javascript print() method when the button is
pressed. I wish to print all the PageViews of the tab,
but only the first PageView is being sent to the printer.

Is there a way to print all PageViews of a Tabstrip?

Thank you in advance.
 
J

Jacob Yang [MSFT]

Hi Rob,

I am not sure about the exact meaning of "only the first PageView is being
sent to the printer". As I understand, the meaning is "only the selected
PageView is being sent to the printer".

Based on my research and experience, we can try the following solution.

The TabStrip object has the SelectedIndex Property. It sets or retrieves a
value that indicates the index of the selected object. We can call the
print() method multiple times. Before each time of calling the print()
method, we set the SelectedIndex Property to different value of the
different PageView.

For the detailed information of the TabStrip object and the SelectedIndex
Property, please refer to the following URLs:

http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/over
view/tabstrip.asp

http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/webf
orms/library/shared/SelectedIndex.asp

I hope it helps.

Best regards,

Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,078
Messages
2,570,570
Members
47,204
Latest member
MalorieSte

Latest Threads

Top