Version

RenderContents Method (WebMonthView)

Renders contents to the supplied HtmlTextWriter.
Syntax
'Declaration
 
Protected Overrides Sub RenderContents( _
   ByVal writer As HtmlTextWriter _
) 
protected override void RenderContents( 
   HtmlTextWriter writer
)

Parameters

writer
An HtmlTextWriter sink to which output is being directed.
Remarks

The contents associated with the WebMonthView and rendered by this method include fields to hold postback data from the client, and initialization Javascript to start-up the WebMonthView's client-side object model (CSOM) following the HTML markup comprising the element. RenderContents delegates responsibility for rendering HTML markup to the associated SmartRenderer created by Infragistics.WebUI.WebControls.SmartWebControl.EnsureRenderer.

Inheritors overriding this method must remember to call the base class implementation of the method before conducting most additional processing.

Post-processing of the rendered content can be accomplished if inheritors intercept what gets written to writer. This involves passing their own HtmlTextWriter wrapping some sort of buffered output sink, for example a StringWriter. When intercepting rendered content in this manner, it becomes the responsibility of the overriding method to ensure necessary content gets forwarded to the original HtmlTextWriter supplied by ASP.NET.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also