C1ViewScroller Control

The C1ViewScroller control is used to create a menu of clickable anchors. These anchors serve as bookmarks for specified portions of content, thus allowing users to jump directly to what they want to view without forcing them to scroll through the rest of the content. The image below shows the C1ViewScroller control used in conjunction with a world map.  

 

 

The C1ViewScroller control has to be connected to a content element. To connect the control to a content element, you must set the ScrollTargetId property to the ID of the element you want to make scrollable. For example, you can set the ScrollTargetId property to the ID of a C1ViewPort control or a C1NavigationList control.

Once the C1ViewScroller control is connected to a content element, you will need to create its anchors. Each anchor is represented by the C1ScrollerItem class. To specify the anchor's target, you must set its TopOffset property and/or its LeftOffset property. To make the anchor visible to the user, set its Text property or its ImageUrl property.

You can specify the C1ViewScroller control's position on the page by setting the Left property, the Right property, and the Top property. You can specify its width by setting the Width property.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.