how to incorporate page-break in asp.net - TechRepublic
General discussion
January 15, 2006 at 09:54 PM
kondas_sudha

how to incorporate page-break in asp.net

by kondas_sudha . Updated 20 years, 5 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

Sudha

This discussion is locked

All Comments