XhtmlMobileTextWriter Methods
.NET Framework 2.0
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| AddAttribute | Overloaded. Adds the specified markup attribute and value to the opening tag of the element that the HtmlTextWriter object creates with a subsequent call to the RenderBeginTag method. (Inherited from HtmlTextWriter.) |
| AddOnEnterForwardSetVar | Overloaded. Adds a provided variable to a list of variables to be embedded in pages for WML devices. |
| AddResource | Overloaded. (Inherited from MobileTextWriter.) |
| AddStyleAttribute | Overloaded. Adds a markup style attribute to the opening tag of the element that the HtmlTextWriter object creates with a subsequent call to the RenderBeginTag method. (Inherited from HtmlTextWriter.) |
| BeginCachedRendering | Instructs the XhtmlMobileTextWriter object to save all rendered markup until written out in its entirety by the EndCachedRendering method. |
| BeginFile | [To be supplied.] (Inherited from MobileTextWriter.) |
| BeginRender | Notifies an HtmlTextWriter object, or an object of a derived class, that a control is about to be rendered. (Inherited from HtmlTextWriter.) |
| BeginResponse | [To be supplied.] (Inherited from MobileTextWriter.) |
| ClearPendingBreak | Removes a break that was to be rendered after writing the current element to the output stream. |
| Close | Closes the HtmlTextWriter object and releases any system resources associated with it. (Inherited from HtmlTextWriter.) |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
| Dispose | Overloaded. Releases all resources used by the TextWriter object. (Inherited from TextWriter.) |
| EndCachedRendering | Writes out the cached markup and instructs the XhtmlMobileTextWriter not to save rendered markup. |
| EndFile | [To be supplied.] (Inherited from MobileTextWriter.) |
| EndRender | Notifies an HtmlTextWriter object, or an object of a derived class, that a control has finished rendering. You can use this method to close any markup elements opened in the BeginRender method. (Inherited from HtmlTextWriter.) |
| EndResponse | [To be supplied.] (Inherited from MobileTextWriter.) |
| EnterFormat | Overridden. Sets the provided style as the current formatting style if the BeginCachedRendering method has been called. |
| EnterLayout | Overridden. Sets the provided style as the current layout style if the BeginCachedRendering method has been called. |
| EnterStyle | Overloaded. Sets the provided style as the current style if the BeginCachedRendering method has been called. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| ExitFormat | Overloaded. Overridden. Removes the current style, restores the previous style as the current formatting style, and calls the WriteEndTag method to close the current element. |
| ExitLayout | Overloaded. Overridden. Removes the current style, restores the previous style as the current formatting style, and calls the WriteEndTag method to close the current element. |
| ExitStyle | Overloaded. Removes the current style, restores the previous style as the current style, and calls the WriteEndTag method to close the current element. |
| Flush | Clears all buffers for the current HtmlTextWriter object and causes any buffered data to be written to the output stream. (Inherited from HtmlTextWriter.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
| IsStyleSheetEmpty | |
| IsValidFormAttribute | Checks an attribute to ensure that it can be rendered in the opening tag of a <form> markup element. (Inherited from HtmlTextWriter.) |
| MarkWmlOnEventLocation | Marks the location in the output stream to insert the <wml:onevent> element. |
| NewUrl | Generates a unique URL. (Inherited from MultiPartWriter.) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| RenderBeginTag | Overloaded. Writes the opening tag of a markup element to the output stream. (Inherited from HtmlTextWriter.) |
| RenderEndTag | Writes the end tag of a markup element to the output stream. (Inherited from HtmlTextWriter.) |
| SetBodyStyle | Sets the provided style as the style for the <body> element of the page and as the default style for its child controls. |
| SetCacheKey | Creates a unique string to use when retrieving the style sheet from the cache. |
| SetPendingBreak | Sets a line break to be rendered after rendering the current element if it is not a block element and if the SuppressNewLine property is false. |
| SetSessionKey | Creates a unique string for a client to use to retrieve a style sheet from the Session object. |
| Synchronized | Creates a thread-safe wrapper around the specified TextWriter. (Inherited from TextWriter.) |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Write | Overloaded. Writes the specified data type to the output stream, along with any pending tab spacing. (Inherited from HtmlTextWriter.) |
| WriteAttribute | Overloaded. Writes an attribute and its value to the current element. |
| WriteBeginTag | Overridden. Writes any tab spacing and the opening tag of the specified markup element to the output stream. |
| WriteBreak | If SuppressNewLine is false, writes a markup element that adds a new line to the output stream. |
| WriteCachedMarkup | Writes out all markup cached since calling the BeginCachedRendering method. |
| WriteDoctypeDeclaration | Writes a <!DOCTYPE> declaration that is unique to target devices represented by the provided Doctype value. |
| WriteEncodedAttributeValue | Encodes and writes the provided value to the output stream. |
| WriteEncodedText | Encodes the specified text for the requesting device, and then writes it to the output stream. (Inherited from HtmlTextWriter.) |
| WriteEncodedUrl | Encodes the specified URL, and then writes it to the output stream. The URL might include parameters. (Inherited from HtmlTextWriter.) |
| WriteEncodedUrlParameter | Encodes the specified URL parameter for the requesting device, and then writes it to the output stream. (Inherited from HtmlTextWriter.) |
| WriteEndTag | Overridden. Writes any tab spacing and the closing tag of the specified markup element. |
| WriteFullBeginTag | Overridden. Writes any tab spacing and the full opening tag of the specified markup element to the output stream. |
| WriteHiddenField | Overloaded. Writes the markup for a hidden field to the output stream. |
| WriteLine | Overloaded. Overridden. Writes a line terminator string to the output stream if SuppressNewLine is false. |
| WriteLineNoTabs | Writes a string, followed by a line terminator string, to the output stream. This method ignores any specified tab spacing. (Inherited from HtmlTextWriter.) |
| WritePendingBreak | Writes a line terminator string to the output stream if the current element is not a block element such as <p>, <div>, <ul>, <table>, and SuppressNewLine is false, and there is a pending break. |
| WriteStyleAttribute | Overloaded. Writes a style attribute and its value to the output stream. (Inherited from HtmlTextWriter.) |
| WriteUrlParameter | Writes an encoded URL, which includes a query-string parameter, to the output stream. |
| WriteXmlDeclaration | Writes an XML declaration along with the current document encoding value. |
| Name | Description | |
|---|---|---|
| AddAttribute | Overloaded. Adds the specified markup attribute and value to the opening tag of the element that the HtmlTextWriter object creates with a subsequent call to the RenderBeginTag method. (Inherited from HtmlTextWriter.) |
| AddStyleAttribute | Overloaded. Adds a markup style attribute to the opening tag of the element that the HtmlTextWriter object creates with a subsequent call to the RenderBeginTag method. (Inherited from HtmlTextWriter.) |
| Dispose | Overloaded. Releases all resources used by the TextWriter object. (Inherited from TextWriter.) |
| EncodeAttributeValue | Overloaded. Encodes the value of the specified markup attribute based on the requirements of the HttpRequest object of the current context. (Inherited from HtmlTextWriter.) |
| EncodeUrl | Performs minimal URL encoding by converting spaces in the specified URL to the string "%20". (Inherited from HtmlTextWriter.) |
| FilterAttributes | Removes all the markup and style attributes on all properties of the page or Web server control. (Inherited from HtmlTextWriter.) |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| GetAttributeKey | Obtains the corresponding HtmlTextWriterAttribute enumeration value for the specified attribute. (Inherited from HtmlTextWriter.) |
| GetAttributeName | Obtains the name of the markup attribute associated with the specified HtmlTextWriterAttribute value. (Inherited from HtmlTextWriter.) |
| GetStyleKey | Obtains the HtmlTextWriterStyle enumeration value for the specified style. (Inherited from HtmlTextWriter.) |
| GetStyleName | Obtains the markup style attribute name associated with the specified HtmlTextWriterStyle enumeration value. (Inherited from HtmlTextWriter.) |
| GetTagKey | Obtains the HtmlTextWriterTag enumeration value associated with the specified markup element. (Inherited from HtmlTextWriter.) |
| GetTagName | Obtains the markup element associated with the specified HtmlTextWriterTag enumeration value. (Inherited from HtmlTextWriter.) |
| IsAttributeDefined | Overloaded. Determines whether the specified markup attribute and its value are rendered during the next call to the RenderBeginTag method. (Inherited from HtmlTextWriter.) |
| IsStyleAttributeDefined | Overloaded. Determines whether a markup style attribute is rendered during the next call to the RenderBeginTag method. (Inherited from HtmlTextWriter.) |
| MemberwiseClone | Overloaded. (Inherited from MarshalByRefObject.) |
| OnAttributeRender | Determines whether the specified markup attribute and its value can be rendered to the current markup element. (Inherited from HtmlTextWriter.) |
| OnStyleAttributeRender | Determines whether the specified markup style attribute and its value can be rendered to the current markup element. (Inherited from HtmlTextWriter.) |
| OnTagRender | Determines whether the specified markup element will be rendered to the requesting page. (Inherited from HtmlTextWriter.) |
| OutputTabs | Writes a series of tab strings that represent the indentation level for a line of markup characters. (Inherited from HtmlTextWriter.) |
| PopEndTag | Removes the most recently saved markup element from the list of rendered elements. (Inherited from HtmlTextWriter.) |
| PushEndTag | Saves the specified markup element for later use when generating the end tag for a markup element. (Inherited from HtmlTextWriter.) |
| RegisterAttribute | Registers markup attributes, whether literals or dynamically generated, from the source file so that they can be properly rendered to the requesting client. (Inherited from HtmlTextWriter.) |
| RegisterStyle | Registers markup style properties, whether literals or dynamically generated, from the source file so that they can be properly rendered to the requesting client. (Inherited from HtmlTextWriter.) |
| RegisterTag | Registers markup tags, whether literals or dynamically generated, from the source file so that they can be properly rendered to the requesting client. (Inherited from HtmlTextWriter.) |
| RenderAfterContent | Writes any text or spacing that occurs after the content and before the closing tag of the markup element to the markup output stream. (Inherited from HtmlTextWriter.) |
| RenderAfterTag | Writes any spacing or text that occurs after the closing tag for a markup element. (Inherited from HtmlTextWriter.) |
| RenderBeforeContent | Writes any text or spacing before the content and after the opening tag of a markup element. (Inherited from HtmlTextWriter.) |
| RenderBeforeTag | Writes any text or spacing that occurs before the opening tag of a markup element. (Inherited from HtmlTextWriter.) |
| WriteUrlEncodedString | Writes the specified string, encoding it according to URL requirements. (Inherited from HtmlTextWriter.) |
Reference
XhtmlMobileTextWriter ClassSystem.Web.UI.MobileControls.Adapters.XhtmlAdapters Namespace
MobileTextWriter Class
MultiPartWriter Class
HtmlTextWriterAttribute
HtmlTextWriterStyle
Other Resources
ASP.NET and XHTMLArchitectural Overview of Adaptive Control Behavior
Architectural Overview of Adaptive Control Behavior
ASP.NET Device Filtering Overview
Community Additions
ADD
Show: