Thursday, August 30, 2012

Control 'gvdetails' of type 'GridView' must be placed inside a form tag with runat=server


Control 'gvdetails' of type 'GridView' must be placed inside a form tag with runat=server

For the above type of Error Write the following Method in the code behind file.

        
        public override void VerifyRenderingInServerForm(Control control)
        {
            // verifies the control is rendered here
        }

No comments:

Post a Comment