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

Use NavigateUrl with StandardButton Type

The RadButton control has a NavigateUrl property which is used for specifying a URL to redirect to, when the button is set to ButtonType=LinkButton.

There is a way to achieve this functionality with a RadButton configured as StandardButton by handling the client-side event OnClientClicking. In the event handler you should open with JavaScript the URL, specified in the NavigateUrl property. The code below demonstrates how to implement such functionality:

<script type="text/javascript">
    function OnClientClicking(button, args) {
        window.location = button.get_navigateUrl();

<telerik:RadButton RenderMode="Lightweight" ID="RadButton" runat="server" Text="RadButton" NavigateUrl="" OnClientClicking="OnClientClicking">

Please note that you should cancel the click event and the post-back after the redirect, via the set_cancel client-side method.

See Also

In this article