473,405 Members | 2,373 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

DataGrid Printing Problem

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

Jul 24 '06 #1
3 1865
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" <ja********@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
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

Jul 24 '06 #2
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

Jul 25 '06 #3
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" <ja********@gmail.comwrote in message
news:11*********************@i3g2000cwc.googlegrou ps.com...
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

Jul 25 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: JasmineC | last post by:
Hi there! I'm having some problems printing out my windows form. Here's what I need to do: I need to print a datagrid off a windows form, however the datagrid is bigger than screen. When I tried...
2
by: Newbie | last post by:
i have a c# asp.net webform that contains a datagrid. the datagrid has a vertical scroll. i need to give the user the ability to print the datagrid's entire content (all the rows). IE's print menu...
1
by: adiel | last post by:
Hello everyone. The problem is when printing, the text gets cut half way and prints the other half on to the next page when printing using internet explorer and an asp.net datagrid. I am sure...
4
by: Jay | last post by:
Still can't seem to find a solution to printing a lengthy datagrid on multiple pages including datagrid headeron each page. I am not using Crystal Reports or Reporting Services or VStudio. Any...
3
by: youngster94 | last post by:
I'm trying to print directly from a datagrid and I'm running into some problems. Heres a snipit of code I'm using for printing: ...
5
by: ComputerStop | last post by:
I am attempting to print a datagridview. I have not found any method that works successfully. Has any one been successful with this?
2
by: Daniel | last post by:
Hey guys When i print preview a datagrid in IE i find the first page shows the grid lines of the grid, and prints them, but all pages after page 1 don't. Any ideas why? Also it will not print...
0
by: Jay | last post by:
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....
0
by: Jay | last post by:
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....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.