Printing out a datagrid

  • Thread starter Thread starter NoSf3RaTu
  • Start date Start date
N

NoSf3RaTu

Is there a way to only print out the datagrid in a given web page? That is I
have a datagrid on my web page but I would like to add a button that will
only give me a page with the datagrid to print but nothing else.

Thanks,
 
1. Create another page with only a datagrid and bind it to the same data
or
2. Set .Visible = False for all the other controls. This can be done readily
by putting them in a panel, and setting its .Visible to False.
 
a couple of weeks ago i heard about some software by smartertrader.net
called print manager that could use pdfs so you could sort out the printing
that way. you could use the same stored procedure as was used on the
datagrid
 
From an architecture stand point, I view suggest you use some sort of
template (xml templates) for all your page layouts. That way you have
a page that can only have a datagrid for printing without all the
menus/headers/footers....


http://xpcoder.net
 
Back
Top