XhtmlControlAdapter.RenderOffPageVariables(XhtmlMobileTextWriter, Control, Int32) Método

Definição

Renderiza variáveis de postback ocultas para controles filho que não estão visíveis devido à paginação ou à interface do usuário secundária.Renders hidden postback variables for child controls that are not visible due to pagination or secondary UI. Esta API está obsoleta.This API is obsolete. Para saber mais sobre como desenvolver aplicativos móveis ASP.NET, veja Mobile Apps & Sites with ASP.NET (Aplicativos móveis e sites com ASP.NET).For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 void RenderOffPageVariables(System::Web::UI::MobileControls::Adapters::XhtmlAdapters::XhtmlMobileTextWriter ^ writer, System::Web::UI::Control ^ control, int page);
protected void RenderOffPageVariables (System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter writer, System.Web.UI.Control control, int page);
member this.RenderOffPageVariables : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * System.Web.UI.Control * int -> unit
Protected Sub RenderOffPageVariables (writer As XhtmlMobileTextWriter, control As Control, page As Integer)

Parâmetros

writer
XhtmlMobileTextWriter

O objeto XhtmlMobileTextWriter usado para renderizar o conteúdo do controle de servidor no navegador do cliente.The XhtmlMobileTextWriter object used to render the server control content on the client's browser.

control
Control

O controle no qual pesquisar variáveis de postback.The control in which to look for postback variables.

page
Int32

O número da página atual.The current page number.

Comentários

O RenderOffPageVariables método examina o controle e cada controle filho.The RenderOffPageVariables method examines the control and each child control. Se o objeto filho implementar IPostBackDataHandler , o método usará o método adapter's do controle filho RenderAsHiddenInputField para renderizar as variáveis para a página atual.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.

Esse método é usado principalmente pelo .NET Framework internamente.This method is primarily used by the .NET Framework internally.

Aplica-se a

Confira também