The Slider Extender is applied on a Textbox control and is generally used to allow a user to select a value from the specified range only. For Ex: If we want the user to enter a value from 0 to 500 , we can specify a slider extender to let the user select from that range. The selected value can be displayed in a textbox or label deopending upon the requirements.
Steps to use Slider Extender :
1. Add a Textbox control to your webform .
2. Add the Slider Extender to the Textbox.
3. Specify the following properties :
TargetControlID : The ID of Textbox on which the Extender is to be applied
Minimum Value : The minimum value the slider should be starting from. (By default 0).
Maximum Value : The maximum value the slider can have (By default 100) .
BoundControlID : The ID of the control where you want to display the slider selected value
Steps : The number of steps you want the slider to be divided into.
Decimals : The number of decimal points upto which the value should be displayed
Apart from these , HandleCssClass to specify the CSS class to be used for handle , HandleImageURL for rendering an image for the handle, RailCssClass for CSS class for the slider and TooltipText for the Tooltip can also be used.
No comments:
Post a Comment