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


In This Topic
    NWebControl Class
    In This Topic
    NWebControl is the base class for all Nevron web controls. Its purpose is to implement the pluggable architecture for client-server communication technologies, which are represented by the NClientServerTechnology class.
    Object Model
    NWebControl Class
    Syntax
    'Declaration
     
    
    <System.Web.UI.ParseChildrenAttribute(True)>
    <System.Web.UI.PersistChildrenAttribute(False)>
    <System.Web.UI.ThemeableAttribute(True)>
    <System.ComponentModel.BindableAttribute(True)>
    <System.ComponentModel.DefaultPropertyAttribute("ID")>
    <System.ComponentModel.DesignerCategoryAttribute("Code")>
    <System.ComponentModel.DesignerAttribute("System.Web.UI.Design.ControlDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
    <System.ComponentModel.Design.Serialization.DesignerSerializerAttribute("Microsoft.VisualStudio.Web.WebForms.ControlCodeDomSerializer, Microsoft.VisualStudio.Web, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
    <System.ComponentModel.ToolboxItemFilterAttribute("System.Web.UI", ToolboxItemFilterType.Require)>
    <System.ComponentModel.ToolboxItemAttribute("System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
    Public MustInherit Class NWebControl 
       Inherits System.Web.UI.WebControls.WebControl
       Implements Nevron.INReferenceProvider, INAjaxControl 
    'Usage
     
    
    Dim instance As NWebControl
    [System.Web.UI.ParseChildren(true)]
    [System.Web.UI.PersistChildren(false)]
    [System.Web.UI.Themeable(true)]
    [System.ComponentModel.Bindable(true)]
    [System.ComponentModel.DefaultProperty("ID")]
    [System.ComponentModel.DesignerCategory("Code")]
    [System.ComponentModel.Designer("System.Web.UI.Design.ControlDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [System.ComponentModel.Design.Serialization.DesignerSerializer("Microsoft.VisualStudio.Web.WebForms.ControlCodeDomSerializer, Microsoft.VisualStudio.Web, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    [System.ComponentModel.ToolboxItemFilter("System.Web.UI", ToolboxItemFilterType.Require)]
    [System.ComponentModel.ToolboxItem("System.Web.UI.Design.WebControlToolboxItem, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
    public abstract class NWebControl : System.Web.UI.WebControls.WebControl, Nevron.INReferenceProvider, INAjaxControl  
    Remarks
    NWebControl delegates all steps from the web control's life-cycle, which are significant to the client-server communication, to an instance of a class, derived from the NClientServerTechnology class. This way, the AJAX client-server communication and the post-back client-server communication are implemented in separate classes, each class specialized per web control and client-server technology. E.g. Nevron Chart implements a NClientServerTechnology for AJAX and another NClientServerTechnology for post-back and Nevron Diagram implements another NClientServerTechnology for AJAX and another NClientServerTechnology for post-back. Within a single web control, different technologies can be switched dynamically at design time and at run-time, providing great flexibility in web control development.
    Inheritance Hierarchy

    System.Object
       System.Web.UI.Control
          System.Web.UI.WebControls.WebControl
             Nevron.UI.WebForm.Controls.NWebControl
                Nevron.UI.WebForm.Controls.NImage

    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