OnClientClicked | RadLinkButton for ASP.NET AJAX Documentation
Edit this page


The clicked event is subsequent to the clicking event, and occurs when the RadLinkButton control is clicked. The event cannot be canceled.

The event handler receives two parameters:

  1. The instance of the clicked RadLinkButton control

  2. An eventArgs parameter of type Telerik.Web.UI.ButtonEventArgs.

This event should be used in scenarios where the user needs to execute custom client-side code when the button is clicked. For example:

Example 1: Handling OnClientClicked event in RadLinkButton.

<script type="text/javascript">
    function Clicked(sender, args) {
        window.alert("Page will navigate to '" + sender.get_navigateUrl() + "'");
<telerik:RadLinkButton ID="RadLinkButton1" runat="server" Text="Navigate to Page" OnClientClicked="Clicked" NavigateUrl="http://www.telerik.com">

See Also

Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article