The OnClientLoad event is raised when the RadRating client-side object is initialized. It can notify you that the control is available(e.g. to store a reference to its client-side object for later use).

The event handler receives two arguments:

  1. Sender – the RadRating object that fired the event.

  2. Event arguments – an empty event arguments object.

You can check how to set the value of the rating control in its OnClientLoad event in Example 1.

Example 1: Using the OnClientLoad event.

<telerik:RadRating RenderMode="Lightweight" runat="server" ID="RadRating1" OnClientLoad="OnClientLoad"></telerik:RadRating>
<script type="text/javascript">
    function OnClientLoad(sender, args) {
In this article
Not finding the help you need? Improve this article