Version

RenderContents Method (WebScheduleDataProviderBase)

Renders the contents of the data provider at design-time.
Syntax
'Declaration
 
Protected Overrides Sub RenderContents( _
   ByVal writer As HtmlTextWriter _
) 
protected override void RenderContents( 
   HtmlTextWriter writer
)

Parameters

writer
An HtmlTextWriter in which to write markup.
Remarks

All WebScheduleDataProviderBase subclasses are required to be nonvisual elements, and they should render no HTML at run-time.

At design-time, the data provider renders a small, rectangular token with the name of the specialized subclass to facilitate identification and selection.

Inheritors overriding the RenderContents method may render additional design-time content to the design surface at their discretion. However, it is very important that any markup rendered be done only at design-time to maintain the requirement that a data provider must be nonvisual.

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