XhtmlControlAdapter.Render Method

Definition

Displays the associated control and all of its child controls on the client. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

Render(HtmlTextWriter)

Displays the associated control and all of its child controls on the client. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Render(XhtmlMobileTextWriter)

Displays the associated control and all of its child controls on the client. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Render(HtmlTextWriter)

Displays the associated control and all of its child controls on the client. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
public override void Render(System.Web.UI.HtmlTextWriter writer);

Parameters

writer
HtmlTextWriter

An HtmlTextWriter object.

Remarks

The HtmlTextWriter serves as the base for an XhtmlMobileTextWriter object that ultimately renders the control and all of its child controls to the client.

This method is primarily used by developers of custom adapters.

Notes to Inheritors

This method is typically overridden in custom adapters, and is called by the .NET Framework.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Render(XhtmlMobileTextWriter)

Displays the associated control and all of its child controls on the client. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
public virtual void Render(System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter writer);

Parameters

writer
XhtmlMobileTextWriter

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

Remarks

This method is primarily used by developers of custom adapters.

Notes to Inheritors

This method is typically overridden in custom adapters, and is called by the .NET Framework.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1