Edit

Share via


MobilePage.VerifyRenderingInServerForm(Control) Method

Definition

Confirms that a Form control is rendered for the specified ASP.NET mobile control at run time. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 override void VerifyRenderingInServerForm(System::Web::UI::Control ^ control);
public override void VerifyRenderingInServerForm (System.Web.UI.Control control);
override this.VerifyRenderingInServerForm : System.Web.UI.Control -> unit
Public Overrides Sub VerifyRenderingInServerForm (control As Control)

Parameters

control
Control

The ASP.NET mobile control that is required in the Form control.

Exceptions

control must be contained in a Form control.

Remarks

This method overrides the Page.VerifyRenderingInServerForm method to throw an exception if the control is not in a Form at run time.

Applies to

See also