XhtmlControlAdapter.ConditionalClearCachedEndTag(XhtmlMobileTextWriter, String) XhtmlControlAdapter.ConditionalClearCachedEndTag(XhtmlMobileTextWriter, String) XhtmlControlAdapter.ConditionalClearCachedEndTag(XhtmlMobileTextWriter, String) XhtmlControlAdapter.ConditionalClearCachedEndTag(XhtmlMobileTextWriter, String) Method

Definition

Clears the given text writer's current end tag if certain conditions are met. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

protected:
 virtual void ConditionalClearCachedEndTag(System::Web::UI::MobileControls::Adapters::XhtmlAdapters::XhtmlMobileTextWriter ^ writer, System::String ^ s);
protected virtual void ConditionalClearCachedEndTag (System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter writer, string s);
abstract member ConditionalClearCachedEndTag : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * string -> unit
override this.ConditionalClearCachedEndTag : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter * string -> unit
Protected Overridable Sub ConditionalClearCachedEndTag (writer As XhtmlMobileTextWriter, s As String)

Parameters

writer
XhtmlMobileTextWriter XhtmlMobileTextWriter XhtmlMobileTextWriter XhtmlMobileTextWriter

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

s
String String String String

The name of the tag you want to clear; the value can be null or an empty string ("").

Remarks

This functionality is required only in the very rare case of a target device where a selected element cannot appear inside a table. If the s parameter is provided, the cached ending tag is cleared. This allows the text writer to insert content when the target device does not support <select> elements immediately after the end of a table.

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

Applies to

See also