Επεξεργασία

Κοινή χρήση μέσω


XhtmlPageAdapter.OnPreRender(EventArgs) Method

Definition

Sets conditional pagination for the page. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 override void OnPreRender(EventArgs ^ e);
public override void OnPreRender (EventArgs e);
override this.OnPreRender : EventArgs -> unit
Public Overrides Sub OnPreRender (e As EventArgs)

Parameters

e
EventArgs

The EventArgs object for the OnPreRender(EventArgs) method.

Implements

Remarks

The OnPreRender method checks the ActiveForm property for the page. If the Action property is not empty, the Paginate property for the active form is set to false. The OnPreRender method calls the base OnPreRender method before exiting.

Note

The MobileControl.Form property inherits from the System.Web.UI.MobileControls.Panel class, which provides the Paginate property.

Notes to Inheritors

When overriding the OnPreRender(EventArgs) method in a derived class, be sure to call the base method.

Applies to

See also