FTP Online
Search:
Locator+ Code:
 
FTPOnline Magazines Conferences Resources Hot Topics Partner Sites About FTP RSS 2.0 Feed
C# Forum
New Thread

Subject From Date
how to incorporate page-break in asp.net and C# Bernd Eckenfels 12/21/05 11:36 PM
Configurations of the .Net applications Bernd Eckenfels 10/14/05 12:38 AM
Internet Explorer Plugins JimJones 9/27/05 6:21 AM
Dirctory.move won't fire filesystemwatcher event cpshadle 9/5/05 4:58 PM
Cannot make ‘databound’ date textbox null / blank DLSC 8/11/05 10:45 PM
How to bypass hosts file RemoteSilicon 8/8/05 3:53 PM
how can I see a listbox item text? john 8/1/05 9:30 PM
   Re: how can I see a listbox item text? csharphelp 10/23/05 9:27 PM
newline in textBox text Bernd Eckenfels 7/7/05 2:47 PM
Creating a .Net Agent Bernd Eckenfels 7/1/05 7:22 AM
3Previous Page Page of 5 Next Page4

From: Bernd Eckenfels Date: 12/21/2005 11:36 PM
Subject: how to incorporate page-break in asp.net and C#
Hi All,

I have n records being retrieved from the DB, bind it to a datagrid control and have set

the pagination (10 records per page) attribute of the datagrid control.

But i want to introduce page breaks after every 20 records, so that whenever i use the

javascript "window.print()" the entire set of data needs to be printed with page breaks

after every 20 records.

I have achieved the same using ASP. But not in ASP.net and C#.

I am using .net 2003, framework 1.1.

We all know that whenever we use window.print, whatever the user is viewing in the browser

will be sent for printing only.

Kindly let me know if there is any solution for this.

Regards
Mohith
Post Reply