Block animation

2 posts, 1 answers
  1. Fit2Page
    Fit2Page avatar
    376 posts
    Member since:
    Feb 2007

    Posted 23 Dec 2010 Link to this post

    Is it possible to prevent the client side animation of the RadPanelBar?
    I use it as a menu, the PanelBar start to expand when clicked before it goes to the URL of the link.

  2. Answer
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 23 Dec 2010 Link to this post

    Hello Fit2Page,

    I think you can apply the same approach shown in this help topic:

    I didn't experience this issue with the panelbar expanding before the page was redirected, but if it happens to you, you could try something like this:

    function OnClientItemClicking(sender, args) {
                    var item = sender.get_item();
                    if (item.get_navigateUrl() != null) {
                        window.location = item.get_navigateUrl();

    This will cancel the item from being clicked if it has a NavigateUrl property set and then redirect them to the url.

    I hope that helps.
Back to Top