It looks like when I call slider.set_Value(#), the client-side callback function (defined in OnClientValueChange) gets invoked twice. Is there a workaround to this?
Thanks, Amie
2 Answers, 1 is accepted
0
Tsvetie
Telerik team
answered on 26 Sep 2007, 07:34 AM
Hello grnbeagle, I added this issue to our TODO list and updated your Telerik points for the report.
For the time being, you can use the following workaround:
<body>
<script type="text/javascript">
var currentValue;
function Test()
{
var slider = $find('<%= RadSlider1.ClientID %>');
//Before you use the get_Value method, assign the value of the slider to a global variable.
currentValue = slider.get_Value();
slider.set_Value(5);
}
function OnClientValueChangeHandler(sender, eventArgs)