GridView must be placed inside a form tag with runat=“server” even after the GridView is within a form tag
Solution :
You are calling GridView.RenderControl(htmlTextWriter), hence the page raises an exception that a Server-Control was rendered outside of a Form.
add this code
public override void
VerifyRenderingInServerForm(Control control)
{
return;
}
Metalogix Exception thrown: Server was unable to process request. ---> Value does not fall within the expected range. Solution : Look for app pool .Is posible reset iis .
Comments
Post a Comment