DataGrid Printing Problem

J

Jay

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
 
I

Ignacio Machin \( .NET/ C# MVP \)

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.
 
J

Jay

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
 
I

Ignacio Machin \( .NET/ C# MVP \)

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.
 

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

Top