I am attempting to export gridview to excel and articles state that the following should be placed to prevent form error.
public override void VerifyRenderingInServerForm(Control control)