The OnDock property returns/sets a custom client-side event handler.

Property Value

The client-side OnDock event handler string.

Remarks

Sets the MenuBar's OnDock client-side event handler. (example: OnDock="MyOnDockHandler();").

The event handler that you specify will be included during a MenuBar dock operation.

Two optional parameters can be passed to your client-side event handler: DockLocation and MenuBarHeight. (example: OnDock="MyOnDockHandler(DockLocation, MenuBarHeight);"). DockLocation will eith be "top" or "bottom", indicating the position of the docked MenuBar. MenuBarHeight is a JavaScript number representing the height of the docked MenuBar in pixels.

Default: Empty String


Copyright © Coalesys, Inc.