Click here to Skip to main content
15,895,192 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi ,

How to set the value to the sliderextender dynamically from the code behind(c#)..
say , i have the following sliderextender ,

<asp:TextBox ID="txtslidetarget" runat="server" Visible="True">
<asp:TextBox ID="txtslidebound" runat="server" Visible="true">

<asp:SliderExtender ID="SliderExtender1" runat="server" TargetControlID="txtslidetarget" Length="150" Decimals="1" Minimum="0" Maximum="10" EnableHandleAnimation="true" BoundControlID="txtslidebound">


i want the slider to be in 3.. i want to set this dynamically from the code behind in page load.. can anyone help me..

Thanks..
Posted

1 solution

Set the target controls value txtslidetarget.Text = "3";
 
Share this answer
 
Comments
rahultiway19 17-Jul-12 7:56am    
Good Example

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900