Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 24th, 2005, 08:34 PM
Registered User
 
Join Date: Apr 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jamslast
Default how to print in asp.net

Maybe it is not easy things to print in Asp.net? why?
Also the documets about it is few.Thaks to tell me somes!


 
Old April 24th, 2005, 11:22 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

you can use client side script for printing the contents of the page.

Regards
Ganesh
 
Old April 25th, 2005, 07:51 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

ASP.NET doesn't have print functionality. Rather, the browser has it. Try searching for printing in HTML/JavaScript.

-Peter
 
Old April 25th, 2005, 11:24 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

you can use window.print() for invoking the browser print dialog box

Regards
Ganesh
 
Old April 26th, 2005, 12:08 AM
Registered User
 
Join Date: Apr 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jamslast
Default

Thaks All Answers.
I do know to use javascript "window.print()".However,can we use some parameters to control complicated paging function? and besides this,no other way to implement printing?

 
Old April 26th, 2005, 12:25 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 449
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to r_ganesh76
Default

Print is a client side functionality. Client side scripts use the funtionality of the browsers to invoke this feature.

Regards
Ganesh
 
Old April 26th, 2005, 04:16 AM
Friend of Wrox
 
Join Date: May 2003
Posts: 229
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Check some related stuff at

http://www.webreference.com/js/column89/

Charul Shukla





Similar Threads
Thread Thread Starter Forum Replies Last Post
Print file at client side in asp.net manish.sharma04 ASP.NET 2.0 Basics 0 April 4th, 2006 08:46 AM
Print Setting in ASP malambing57 ASP.NET 1.0 and 1.1 Professional 1 March 28th, 2006 03:20 PM
print page in ASP palu_2702 Classic ASP Basics 0 May 3rd, 2005 02:47 AM
unable to print stored data in textbox(asp.net) Abhinav_jain_mca ADO.NET 1 July 30th, 2004 09:34 PM
Print (Report in ASP) mateenmohd SQL Server 2000 2 November 22nd, 2003 12:01 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.