AlwaysVisibleControlExtender (demo)

An extender used to add constant visibility to an ASP.NET control. The control that is extended then always moves to a fixed position in the page regardless of how the body is resized or scrolled.

Properties

Name Description
HorizontalOffset A distance to the horizontal edge of the browser in pixels from the same side of the target control. The default is 0.
HorizontalSide A horizontal side of the browser to anchor the control against. The default is the Left.
ScrollEffectDuration Length of the scrolling effectn seconds when the target control is repositioned. The default is 1.
UseAnimation Whether or not to animate the element's transposition. The default is false.
VerticalOffset A distance to the vertical edge of the browser in pixels from the same side of the target control. The default is 0.
VerticalSide A vertical side of the browser to anchor the control against. The default is the Top.

Methods

EnsureValid()
Validates offsets.

Client properties

horizontalOffset
A distance to the horizontal edge of the browser in pixels from the same side of the target control. The default is 0 pixels.
Getter name: get_horizontalOffset()
Setter name: set_horizontalOffset(value)

horizontalSide
A horizontal side of the browser to anchor the control against. The default is the Left side.
Getter name: get_horizontalSide()
Setter name: set_horizontalSide(value)

scrollEffectDuration
Length of the scrolling effectn seconds when the target control is repositioned. The default is 1
Getter name: get_scrollEffectDuration()
Setter name: set_scrollEffectDuration(value)

useAnimation
Whether or not to animate the element's transposition. (note: this value should always be true in IE6).
Getter name: get_useAnimation()
Setter name: set_useAnimation(value)

verticalOffset
A distance to the vertical edge of the browser in pixels from the same side of the target control. The default is 0 pixels.
Getter name: get_verticalOffset()
Setter name: set_verticalOffset(value)

verticalSide
A vertical side of the browser to anchor the control against. The default is the Top side.
Getter name: get_verticalSide()
Setter name: set_verticalSide(value)

Client events

repositioned
Fires after control reposition
Add event handler method: add_repositioned(handler)
Remove event handler method: remove_repositioned(handler)
Raise event method: raise_repositioned()

repositioning
Fires before control reposition
Add event handler method: add_repositioning(handler)
Remove event handler method: remove_repositioning(handler)
Raise event method: raise_repositioning()

Last edited Sep 14, 2015 at 8:50 AM by MikhailTymchukDX, version 2