Home / AJAX

AlwaysVisible Reference

RSS
Modified on 2010/05/04 18:40 by Stephen Walther Categorized as Uncategorized

AlwaysVisibleControlExtender Server Reference

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

AlwaysVisibleControlExtender Server Properties

NameDescription
HorizontalOffset Distance to the horizontal edge of the browser in pixels from the same side of the target control. The default is 0 pixels.
HorizontalSide Horizontal side of the browser to anchor the control against. The default is the Left side.
ScrollEffectDuration Length in seconds for the scrolling effect to last when the target control is repositioned. The default is .1 seconds.
UseAnimation Whether or not to animate the element into position.
VerticalOffset Distance to the vertical edge of the browser in pixels from the same side of the target control. The default is 0 pixels.
VerticalSide Vertical side of the browser to anchor the control against. The default is the Top side.

AlwaysVisibleControlExtender Server Methods

NameDescription
EnsureValid Validate the offsets

AlwaysVisibleControlBehavior Client Reference

The AlwaysVisibleControl behavior is used to fix a particular control a specified distance from the top/left corner at all times regardless of how the users scrolls or sizes the window.

AlwaysVisibleControlBehavior Client Properties

NameDescription
HorizontalOffsetDistance to the horizontal edge of the browser in pixels from the same side of the target control. The default is 0 pixels.
HorizontalSideHorizontal side of the browser to anchor the control against. The default is the Left side.
ScrollEffectDurationLength in seconds for the scrolling effect to last when the target control is repositioned. The default is .1 seconds.
useAnimationWhether or not to animate the element into position. (note: this value should always be true in IE6).
VerticalOffsetDistance to the vertical edge of the browser in pixels from the same side of the target control. The default is 0 pixels.
VerticalSideVertical side of the browser to anchor the control against. The default is the Top side.

AlwaysVisibleControlBehavior Client Methods

NameDescription
dispose Dispose the behavior
initialize Initialize the behavior
raiseRepositioned Raise the repositioned event
raiseRepositioning Raise the repositioning event

AlwaysVisibleControlBehavior Client Events

NameDescription
repositioned Add an event handler for the repositioned event
repositioning Add an event handler for the repositioning event