Author: jct.maf | Posted on: 2/18/2009 11:19:28 AM | Views : 512

This seems like a simple thing, but I can't find an answer (after too many hours of searching and frustration). I have a page that searches for part numbers, which may result in one or 20 pages. I have a working print script and button, and right now can print only the current page. I want to provide the user the option of printing only the current page or printing all pages. I have read that I need to turn paging off to print all pages, but don't know where to put the command.

 I'm working in Visual Web Developer 2008 Express using VB and page behind. I've put the search text boxes and instructions in one <div> and the gridview in another <div> so I can print just the grid, then using a Print.css & Screen.css. Here's my code:

partlookup.aspx 

1 &lt;%@ Page Language="VB" AutoEventWireup ...

Go to the complete details ...