To Mudassar Khan,
br, i have applied your code to print all pages of grid view, and it is throwing an exception that
grid view control must be placed in Form tag with runat=server,
my gridview control is already in Form tag with runat=server,
then i tried to override VerifyRenderingInServerForm even as you explianed, i am using asp.net 2.0,
when i write
publicoverridevoid VerifyRenderingInServerForm(Control control)
{
/* Verifies that the control is rendered */
}
it gives an error that no suitable method found for override,
please help me, thanks in advance