Nevron .NET Vision
Nevron.UI.WebForm.Controls Namespace / NClientServerTechnologyFactory Class
Members


In This Topic
    NClientServerTechnologyFactory Class
    In This Topic
    NClientServerTechnologyFactory is the base class for NClientServerTechnology factories.
    Object Model
    NClientServerTechnologyFactory Class
    Syntax
    'Declaration
     
    
    Public MustInherit Class NClientServerTechnologyFactory 
    'Usage
     
    
    Dim instance As NClientServerTechnologyFactory
    public abstract class NClientServerTechnologyFactory 
    Remarks
    A NClientServerTechnology factory is used by the NWebControl class to create different NClientServerTechnology instances based on a WebControlTechnologyType control parameter. The factory, used by a NWebControl instance is initialized once in the control's constructor. Later, when the Technology property of a NWebControl instance is changed, the factory replaces the current NClientServerTechnology instance, exposed by the ClientServerTechnology property of the NWebControl object with a new instance of a different NClientServerTechnology implementation.

    Implement a derived class of the NClientServerTechnologyFactory base class so that the factory will create an instance of your AJAX implementation of your NClientServerTechnology for your particular web control, when the type parameter of the Create method is set to WebControlTechnologyType.Ajax and an instance of your postback implementation of your NClientServerTechnology for your particular web control, when the type parameter of the Create method is set to WebControlTechnologyType.Postback.

    Inheritance Hierarchy

    System.Object
       Nevron.UI.WebForm.Controls.NClientServerTechnologyFactory
          Nevron.Chart.WebForm.NChartTechnologyFactory
          Nevron.Diagram.WebForm.NDiagramTechnologyFactory

    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