Nevron .NET Vision
Nevron.UI.WebForm.Controls Namespace / NClientServerTechnology Class / OnWebControlDesignTimeRender Method
The instance of the NWebControlDesigner object that invoked the method.

In This Topic
    OnWebControlDesignTimeRender Method (NClientServerTechnology)
    In This Topic
    This method is invoked from the overridden GetDesignTimeHtml method of the NWebControlDesigner class. By default does nothing.
    Public Overridable Function OnWebControlDesignTimeRender( _
       ByVal designer As NWebControlDesigner _
    ) As System.String
    Dim instance As NClientServerTechnology
    Dim designer As NWebControlDesigner
    Dim value As System.String
    value = instance.OnWebControlDesignTimeRender(designer)
    public virtual System.string OnWebControlDesignTimeRender( 
       NWebControlDesigner designer


    The instance of the NWebControlDesigner object that invoked the method.

    Return Value

    The HMTL code of the component used for design-time rendering. The default implementation of this method returns null.
    It is recommended that the whole implementation of this method is encapsulated in a try-catch block like this: try { // implementation } catch (Exception ex) { RememberHtmlExceptionMessage(ex); } The RememberHtmlExceptionMessage(Exception) method will store any error data and provide it later for formatted output to the client. Using the RememberHtmlExceptionMessage(Exception) method also allows to collect multiple errors' data in order to diagnose possible problems more easily.

    Target Platforms: 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