PC Review


Reply
Thread Tools Rate Thread

DataGrid Printing Problem

 
 
Jay
Guest
Posts: n/a
 
      24th Jul 2006
Hi,

I have this problem with DataGrid printing.


I have a page which contains only DataGrid. When i try to print the
page, only 1st page contains the verticle and horizontal lines of the
grid. The rest of the pages do not contain any lines.


Second thing, between pages while printing there are some word break of

a line. I dont want this line break.


Can anybody help me with this??
Help would be highly appreciated.


Thanks in advance.
Jay Mehta

 
Reply With Quote
 
 
 
 
Ignacio Machin \( .NET/ C# MVP \)
Guest
Posts: n/a
 
      24th Jul 2006
Hi,

Is this a web page?

If so my recommendation is to use Crystal report to generate a PDF to print.
In this way you will have a lot more control of how it's printed. If you let
IE to handle the printing you most probably will have to modify the page to
fit in a printed page, as well as you will have no control over the headers
& footers.


--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation


"Jay" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I have this problem with DataGrid printing.
>
>
> I have a page which contains only DataGrid. When i try to print the
> page, only 1st page contains the verticle and horizontal lines of the
> grid. The rest of the pages do not contain any lines.
>
>
> Second thing, between pages while printing there are some word break of
>
> a line. I dont want this line break.
>
>
> Can anybody help me with this??
> Help would be highly appreciated.
>
>
> Thanks in advance.
> Jay Mehta
>



 
Reply With Quote
 
Jay
Guest
Posts: n/a
 
      25th Jul 2006
Hi,

Thanks for the reply.

Yes it is a webpage. I have to use IE to print report. I cant use
Crystal Report for it.
Please suggest how to change page properties to fit in the datagrid for
printing it properly.

Thanks.
Jay

 
Reply With Quote
 
Ignacio Machin \( .NET/ C# MVP \)
Guest
Posts: n/a
 
      25th Jul 2006
Hi,

If you want to use CR (my recommended solution) you will have to create a
report that duplicated the datagrid.you should use the same datasource for
both.


--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Jay" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> Thanks for the reply.
>
> Yes it is a webpage. I have to use IE to print report. I cant use
> Crystal Report for it.
> Please suggest how to change page properties to fit in the datagrid for
> printing it properly.
>
> Thanks.
> Jay
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in nesting datagrid in to a nested datagrid sajvargs Microsoft ASP .NET 0 20th Feb 2005 12:17 AM
Problem printing datagrid - known issue? Dave Bartlett Microsoft ASP .NET 1 10th Jun 2004 03:58 PM
Printing problem, Datagrid and IE Dan W. Microsoft ASP .NET 0 5th Dec 2003 09:15 PM
Printing a large datagrid (hopefully a simple problem) Chris Gardner Microsoft ASP .NET 0 29th Oct 2003 06:10 PM
RE: Datagrid printing problem Parker Zhang [MSFT] Microsoft Dot NET 0 25th Aug 2003 06:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:05 AM.