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

Navigate to Url with RadPushButton

RadPushButton doesn't expose a NavigateUrl property which is used by RadLinkButton for specifying a URL to redirect to.

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

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

<telerik:RadPushButton ID="RadPushButton" runat="server" Text="RadPushButton" CommandName="" OnClientClicking="OnClientClicking">

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
Not finding the help you need? Improve this article