|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Printer-Friendly DataGrid optionWhat options are there for giving a user a printer-friendly link to print out
my datagrid? I'm not sure how to best accomplish this. I've seen an example where the datasource (a table) is set to a session variable and then retrieved on the other page. Is there any other way to better accomplish this? -- PK9 another cheesy approach i have used is to catch the print event and disable
extraneous material on the page such as buttons and controls so that the grid can print properly. That does not work if the grid is cropped though. A much better alternative is simply to spawn an instance of excel to handle the print routine or adobe for that matter. -- Show quoteHide quoteRegards, Alvin Bruney [Microsoft MVP ASP.NET] [Shameless Author plug] The Microsoft Office Web Components Black Book with .NET Now Available @ http://www.lulu.com/owc ---------------------------------------------------------- "PK9" <P**@discussions.microsoft.com> wrote in message news:740A1CFE-F471-4FCE-8CDA-BBFBBC3F925F@microsoft.com... > What options are there for giving a user a printer-friendly link to print > out > my datagrid? I'm not sure how to best accomplish this. > > I've seen an example where the datasource (a table) is set to a session > variable and then retrieved on the other page. Is there any other way to > better accomplish this? > -- > PK9
How to pass the selected row of a datagrid to another form
Datagrid Dropdownlist in default in edit mode Adding "delete" functionality in DataGrid - without a ButtonColumn How To Insert ASP.NET User Control into DataGrid Column? Adding CSS to LinkButton JavaScript confirmation HyperLink column datagrid Add header text dynamically in a datagrid with templatecolumns? Datagrid colum has no Dataformat property Can we put ActiveX Control into the DataGrid Column? |
|||||||||||||||||||||||