Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

AlwaysVisibleControlExtender

MikhailTymchukDX edited this page Apr 12, 2017 · 3 revisions

Demo Page

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

Name Description
EnsureValid() Validates offsets.

Client 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 pixels.
horizontalSide A horizontal side of the browser to anchor the control against. The default is the Left side.
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. (note: this value should always be true in IE6).
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.
verticalSide A vertical side of the browser to anchor the control against. The default is the Top side.

Client events

Name Description
repositioned Fires after control reposition
repositioning Fires before control reposition

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)

Methods

EnsureValid()

Validates offsets.

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()

Clone this wiki locally