Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Renders a closing </span>
element 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 ConditionalRenderClosingSpanElement(System::Web::UI::MobileControls::Adapters::XhtmlAdapters::XhtmlMobileTextWriter ^ writer);
protected virtual void ConditionalRenderClosingSpanElement(System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter writer);
abstract member ConditionalRenderClosingSpanElement : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter -> unit
override this.ConditionalRenderClosingSpanElement : System.Web.UI.MobileControls.Adapters.XhtmlAdapters.XhtmlMobileTextWriter -> unit
Protected Overridable Sub ConditionalRenderClosingSpanElement (writer As XhtmlMobileTextWriter)
The XhtmlMobileTextWriter object used to render the server control content on the client's browser.
If there is an open <span>
element, the ConditionalRenderClosingSpanElement method renders a closing </span>
element and cancels the current cascading style sheet class name if the following conditions are met:
The Device does not require suppression of cascading style sheet styles.
The CssLocation property represents a physical file.
This method is primarily used by the .NET Framework internally.
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Please sign in to use this experience.
Sign in