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

Client-side Programming Overview

RadImageButton provides a flexible client-side API. You can easily interact with the button in the browser using the RadImageButton client-side object. In addition to a variety of client-side events, the client-side object model lets you achieve complicated tasks while avoiding unnecessary post-backs.

Getting the RadImageButton Client-side Object

RadImageButton creates a client-side object with the ClientID of the button. You can obtain the reference using the following JavaScript code:

JavaScript
var button = $find("<%= RadImageButton1.ClientID %>");
JavaScript
var button = $telerik.findImageButton("<%= RadImageButton1.ClientID %>");

See Also