New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

OnClientLoad

The OnClientLoad client-side event occurs after the color picker loads on the page.

The event handler receives parameters:

  1. The color picker instance that fired the event.

  2. Event arguments. The parameter has no methods for this event.

The example below sets the color value to Red.

ASP.NET
function clientLoad(sender, eventArgs)
{
   sender.set_selectedColor("#FF0000");
}
...
<telerik:RadColorPicker
   ID="RadColorPicker1"
   runat="server"
   Preset="Standard"
   OnClientLoad="clientLoad">
</telerik:RadColorPicker>
Not finding the help you need?
Contact Support