New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Client-side Events

Event log

RadImageButton provides the following client-side events:

  • OnClientLoad - raised when the button is loaded.
  • OnClientClicking - raised when the user clicks the button. The event can be canceled.
  • OnClientClicked - raised when the button has been clicked. The event is subsequent to the OnClientClicking event.
  • OnClientMouseOver - raised when the mouse pointer is positioned over the button.
  • OnClientMouseOut - raised when the mouse pointer leaves the button.
  • DefaultCS.aspx
  • scripts.js
  • styles.css
<%@ Page Language="C#" AutoEventWireup="true"  %>

<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<!DOCTYPE html>
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="styles.css" rel="stylesheet" />
    <script src="scripts.js" type="text/javascript"></script>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container no-bg player-body-bg">
        <telerik:RadImageButton CssClass="play-button" runat="server" Width="110px" Height="44px" Value="PlayButton"
            <Image Url="images/Play_normal.png" HoveredUrl="images/Play_hover.png" PressedUrl="images/Play_pressed.png" />
    <qsf:EventLogConsole ID="EventLogConsole" runat="server" AllowClear="true"></qsf:EventLogConsole>

Support & Learning Resources

Find Assistance