SingleClick breaks navigateUrl

2 posts, 0 answers
  1. Albert Shenker
    Albert Shenker avatar
    551 posts
    Member since:
    Mar 2004

    Posted 20 May Link to this post

    When SingleClick="Button" in a toolbar, buttons with NavigateURl and target="blank" no longer appear to work.
  2. Peter Milchev
    Admin
    Peter Milchev avatar
    144 posts

    Posted 25 May Link to this post

    Hello Albert,

    Unfortunately, we have to confirm that this is an issue in the RadToolBar. I have forwarded the report to our developers to fix it for the upcoming versions of the product. You could follow the progress of the bug fixing here in the Feedback Portal.

    One option as a temporary workaround is navigating with JavaScript to the desired page in the OnClientButtonClicking event handler. Here is a sample implementation of the event handler:

    function onClientButtonClickingHandler(sender, args) {
        var button = args.get_item();
        if (sender._singleClick != 0 && button.get_navigateUrl()) {
            window.open(button.get_navigateUrl(), button.get_target())
        }
    }

    Regards,
    Peter Milchev
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top