Nevron .NET Vision
Nevron.UI.WebForm.Controls Namespace / NAjaxTechnologyHelper Class / RenderAjaxControlToXhtml Method
The instance of the client-server technology, used by the web control.
The session state object that contains the state of the web control.
NChartCallbackService or NDiagramCallbackService.
The text to be inserted as ALT-attribute of the XHTML image element, produced by the web control.
HTML writer to write the generated XHTML source to.


In This Topic
    RenderAjaxControlToXhtml Method
    In This Topic
    Generates the XHTML and JavaScript, required for a web control to run in AJAX mode on the client browser.
    Syntax
    'Declaration
     
    
    Public Shared Sub RenderAjaxControlToXhtml( _
       ByVal technology As NClientServerTechnology, _
       ByVal state As NStateObject, _
       ByVal jsCallbackServiceClassName As System.String, _
       ByVal altText As System.String, _
       ByVal output As System.Web.UI.HtmlTextWriter _
    ) 
    'Usage
     
    
    Dim technology As NClientServerTechnology
    Dim state As NStateObject
    Dim jsCallbackServiceClassName As System.String
    Dim altText As System.String
    Dim output As System.Web.UI.HtmlTextWriter
     
    NAjaxTechnologyHelper.RenderAjaxControlToXhtml(technology, state, jsCallbackServiceClassName, altText, output)
    public static void RenderAjaxControlToXhtml( 
       NClientServerTechnology technology,
       NStateObject state,
       System.string jsCallbackServiceClassName,
       System.string altText,
       System.Web.UI.HtmlTextWriter output
    )

    Parameters

    technology
    The instance of the client-server technology, used by the web control.
    state
    The session state object that contains the state of the web control.
    jsCallbackServiceClassName
    NChartCallbackService or NDiagramCallbackService.
    altText
    The text to be inserted as ALT-attribute of the XHTML image element, produced by the web control.
    output
    HTML writer to write the generated XHTML source to.
    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