This is a migrated thread and some comments may be shown as answers.

RadSlider failed to fire client side events

1 Answer 29 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Parimal
Top achievements
Rank 1
Parimal asked on 11 Aug 2010, 12:13 AM
I have following stuff into my webpage. but when i drag slider , i am expection client side events to be fired. but it's never fire events.

anyone know why

<script type="text/javascript">
  function HandleValueChanged2(sender, eventArgs) {
    alert("changed");
    $get("lblSimpleEmails").value = sender.get_value();
  }

  function HandleValueChanged() {
    alert("changed");
  }
</script>

<table>
  <tr>
    <td>
      <telerik:RadSlider ID="sliderSimpleEmails" runat="server" SmallChange="5" OnClientValueChanged="HandleValueChanged"
        OnClientLoad="HandleValueChanged2">
      </telerik:RadSlider>
    </td>
    <td>
      <telerik:RadSlider ID="sliderSpreadSheets" runat="server" SmallChange="5">
      </telerik:RadSlider>
    </td>
    <td>
      <telerik:RadSlider ID="sliderPresentations" runat="server" SmallChange="5">
      </telerik:RadSlider>
    </td>
    <td>
      <telerik:RadSlider ID="sliderAudioVideo" runat="server" SmallChange="5">
      </telerik:RadSlider>
    </td>
    <td rowspan="2">
      <asp:Image ID="Image1" runat="server" />
    </td>
  </tr>

1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 11 Aug 2010, 09:21 AM
Hello Parimal,
We changed the names of the client-side events of RadSlider for Q3 2009 in order to adhere to the naming conventions:

Client event names changes

loaded load
valueChange valueChanged
beforeValueChange valueChanging

 

Server-side properties

OnClientLoaded OnClientLoad
OnClientValueChange OnClientValueChanged
OnClientBeforeValueChange OnClientValueChanging


That is why, in case you are using an earlier version of the assembly than Q3 2009, you should use the old event names and properties. Please refer to our online documentation for additional information:

http://www.telerik.com/help/aspnet-ajax/changes_and_backwards_compatibility.html

Greetings,
Tsvetie
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Slider
Asked by
Parimal
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or