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


In This Topic
    OnWebControlDesignTimeRender Method (NDiagramClientServerTechnology)
    In This Topic
    Generates an HTML with image preview of the diagram control in design mode.
    Syntax
    'Declaration
     
    
    Public Overrides Function OnWebControlDesignTimeRender( _
       ByVal designer As NWebControlDesigner _
    ) As System.String
    'Usage
     
    
    Dim instance As NDiagramClientServerTechnology
    Dim designer As NWebControlDesigner
    Dim value As System.String
     
    value = instance.OnWebControlDesignTimeRender(designer)
    public override System.string OnWebControlDesignTimeRender( 
       NWebControlDesigner designer
    )

    Parameters

    designer
    The instance of the Nevron.UI.WebForm.Controls.NWebControlDesigner object that invoked the method.

    Return Value

    If there are errors renders an HTML div with detailed error report. Else, renders the diagram control as an HMTL image element. In both cases, the size of the control is the size provided in the Width and Height properties of the web control.
    Requirements

    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