MobilePage.VerifyRenderingInServerForm Method

Confirms that a Form control is rendered for the specified ASP.NET mobile control at run time.

Namespace: System.Web.UI.MobileControls
Assembly: System.Web.Mobile (in

public override void VerifyRenderingInServerForm (
	Control control
public void VerifyRenderingInServerForm (
	Control control
public override function VerifyRenderingInServerForm (
	control : Control
Not applicable.



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

Exception typeCondition


control must be contained in a Form control.

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1

Community Additions