Edit this page

OnClientPopUpShow

The OnClientPopUpShow client-side event occurs after the pop-up palette of a color picker with ShowIcon set to "true" shows.

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.

function OnClientPopUpShow (sender, eventArgs)
{
  sender.set_selectedColor("#FF0000");
}
...
<telerik:RadColorPicker
  ID="RadColorPicker1"
  runat="server"
  ShowIcon="true"
  OnClientPopUpShow="OnClientPopUpShow">
</telerik:RadColorPicker>