how to incorporate page-break in asp.net - TechRepublic
General discussion
December 21, 2005 at 10:46 PM
mohithmv

how to incorporate page-break in asp.net

by mohithmv . Updated 20 years, 6 months ago

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

This discussion is locked

All Comments