20th September, 2018
Slider Extender control is used to provide a slider on the page and allow the user to select a value within a specified rang using the slide. TargetContorlID: BoundcontrolID : Used to specify the control with in which you want to display the current value of the slide. Minimum & Maximum : Used to specify the range of values user can select with slider Extender Decimals : Used to specify number of digits you want to display after the decimal point. Example The following example demonstrates how to use the slider extender. Add a page to the website and place aToolkitscriptManager and a Textbox & label and set the ID’s of Textbox & lable as T1 & L1. Within HTML Source of the page drag & drop a sliderExtender & set following properties for it. <asp:sliderExtender ID=”sliderExtender1” runat=”server” TargetcontrolID=”T1” BoundcontrolID=”21” Minimum=”10” Maximum=”100” decimals=”2”> </asp:sliderExtender> At runtime in the place of TextBox you will get slider and when you select a value in the slider and when you select a value in the slider using the slider handle then the current value of the slider will be displayed in label.
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills .
Write For Us