A component inherited from WebControl that provides extensive functionality to an EPi page having type of PageBase The page using an instance of ExtensionPageHandler enables users to have drag-and-drop ability when designing the page in edit mode.

Examples

The following example shows how to enable Extension 3 functionality for a standard EPi TemplatePage
CopyC#
 public partial class ExtensionDemoPage : TemplatePage
 {
    // ExtensionPageHandler for Extension Functionality
    ExtensionPageHandler extensionPageHandler;

    public ExtensionDemoPage():base(0,0)
    {
        // create an instance of ExtensionPageHandler
        extensionPageHandler = new ExtensionPageHandler();
    }

    protected override void OnInit(System.EventArgs e)
    {
        base.OnInit(e);
        // initialize ExtensionPageHandler instance
        // must always be placed at this position
        extensionPageHandler.Initialize(this);
    }
}

Namespace: Dropit.Extension.Core
Assembly: Dropit.Extension (in Dropit.Extension.dll) Version: 4.1.0.146

Syntax

C#
public class ExtensionPageHandler : WebControl

Inheritance Hierarchy

System..::..Object
  System.Web.UI..::..Control
    System.Web.UI.WebControls..::..WebControl
      Dropit.Extension.Core..::..ExtensionPageHandler

See Also