Home / AJAX

Ajax Control Toolkit DragPanel

RSS
Modified on 2010/04/16 00:09 by Stephen Walther Categorized as Uncategorized
The DragPanel extender allows users to easily add "draggability" to their controls. The DragPanel targets any ASP.NET Panel and takes an additional parameter that signifies the control to use as the "drag handle". Once initialized, the user can freely drag the panel around the web page using the drag handle.

DragPanel Server Properties

The properties in italics are optional.

<ajaxToolkit:DragPanelExtender ID="DPE1" runat="server"
    TargetControlID="Panel3"
    DragHandleID="Panel4" />
  • TargetControlID - The ID of a Panel to make draggable.
  • DragHandleID - The ID of a control that will serve as the "drag handle" for the panel. When the user clicks and drags this control, the panel will move.