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


In This Topic
    OnWebControlDesignTimeRender Method (NChartClientServerTechnology)
    In This Topic
    Generates an HTML with image preview of the chart control in design mode. Also registers in web.config the HTTP action handler, required by Nevron Chart to render chart images in run-time in AJAX mode. The HTTP action handler is registered only if it is missing from web.config.
    Syntax
    'Declaration
     
    
    Public Overrides Function OnWebControlDesignTimeRender( _
       ByVal designer As NWebControlDesigner _
    ) As System.String
    'Usage
     
    
    Dim instance As NChartClientServerTechnology
    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 chart 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 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