Client/Server menu item code?

2 posts, 0 answers
  1. John Fetherolf
    John Fetherolf avatar
    30 posts
    Member since:
    Sep 2006

    Posted 11 Sep 2008 Link to this post

    I have a RadContextMenu that has three items on it.  Two of the items needed to be handled through an Ajax call so for those I can use the ItemClicked event no problem.  The third item needs to be done on the client side only.  How do I setup the page to accomplish this? 

    I tried to do a e.set_cancel(true); for the third item and then a menu.close() but the menu didn't close properly.  Without the e.set_cancel(true); I get the unwanted postback.

    Thanks,
    Kevin
  2. John Fetherolf
    John Fetherolf avatar
    30 posts
    Member since:
    Sep 2006

    Posted 12 Sep 2008 Link to this post

    Nevermind on this.  I used menu.hide() instead of menu.close() on the context menu and it worked fine.

    Thanks,
    Kevin
Back to Top