Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 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 September 16th, 2004, 01:29 AM
Registered User
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to KashifAzam Send a message via Yahoo to KashifAzam
Default Print of DataGrid

Hi,

I have a datagrid on a webform.
I want to get its print.

I can do this by the following way.
1. I can create a printer friendly page for the data of grid.
2. Onload i can issue "window.print()" command.

but this method prints some extra information like URI, Date and Page number.

is there anyother way to do this.
or can i control the window.print() to not to print extra information.

Best Regards,
Kashif Azam

Regards,
Kashif Azam
 
Old September 16th, 2004, 02:09 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You are going to be limited by what the browser prints. If the browser wants to print extra stuff, it will.





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to print wide datagrid? brad-jenny General .NET 0 September 6th, 2007 03:52 PM
Print Datagrid in vb.net 2003 rngrmn VB.NET 2002/2003 Basics 0 April 6th, 2006 04:23 PM
to print datagrid contents josna VB.NET 6 January 13th, 2006 12:02 AM
How To Print specific Web Control like datagrid. qadeerahmed Classic ASP Basics 0 August 15th, 2005 11:25 PM
print datagrid or dataset hanzahalka ADO.NET 1 March 20th, 2005 09:40 PM





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