Print (Perform operation on) all Data of Gridview when AllowPaging=True

Hello Frd’s

There may be case when you want to print data from gridview.Here Problem is not with Printing but when allowpaging=true it’s only possible to perform operation on a data which exists in a given page.

But there are trick using which you can print or perform operation on all gridview data.First of on print button click make AllowPaging="False" after this again bind data with gridview and perform prinitng or what ever operation with all filed of gridview.

After your work finished agaain make AllowPaging="True"

If you want to manage checkbox value during paging then read below article.

Posted in |


Post a Comment