MobilePage.VerifyRenderingInServerForm Method (Control)

 

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 the www.asp.net/mobile Web site.

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

Public Overrides Sub VerifyRenderingInServerForm (
	control As Control
)

Parameters

control
Type: System.Web.UI.Control

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

Exception Condition
Exception

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.

.NET Framework
Available since 1.1
Return to top
Show: