XhtmlControlAdapter.RenderOffPageVariables Method

Renders hidden postback variables for child controls that are not visible due to pagination or secondary UI.

Namespace: System.Web.UI.MobileControls.Adapters.XhtmlAdapters
Assembly: System.Web.Mobile (in system.web.mobile.dll)

protected:
void RenderOffPageVariables (
	XhtmlMobileTextWriter^ writer, 
	Control^ control, 
	int page
)
protected void RenderOffPageVariables (
	XhtmlMobileTextWriter writer, 
	Control control, 
	int page
)
protected function RenderOffPageVariables (
	writer : XhtmlMobileTextWriter, 
	control : Control, 
	page : int
)
Not applicable.

Parameters

writer

The XhtmlMobileTextWriter object used to render the server control content on the client's browser.

control

The control in which to look for postback variables.

page

The current page number.

The RenderOffPageVariables method examines the control and each child control. If the child object implements IPostBackDataHandler, the method uses the child control's adapter's RenderAsHiddenInputField method to render the variables to the current page.

This method is primarily used by the .NET Framework internally.

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

Community Additions

ADD
Show: