DragPanel Extender (demo)

This extender attaches the stock floatingBehavior to the panel and is an example of wrapping the existing behavior with an extender. On being attached to the panel, a user can then drag that panel around the browser rendering surface using the mouse.

Properties

Name Description
DragHandleID The server ID of a control that will serve as a handle for this drag operation. When a user clicks and drags this control, the associated panel will be moved as well.

Client properties

handle
Handles to drag the panel around.
Getter name: get_handle()
Setter name: set_handle(value)

location
Defines the location of an element being dragged.
Getter name: get_location()
Setter name: set_location(value)

Client events

move
Move event handler.
Add event handler method: add_move(handler)
Remove event handler method: remove_move(handler)

Last edited Sep 14, 2015 at 11:04 AM by fadilmamedov, version 2