This is a migrated thread and some comments may be shown as answers.

Client/Server menu item code?

1 Answer 37 Views
Menu
This is a migrated thread and some comments may be shown as answers.
John Fetherolf
Top achievements
Rank 1
John Fetherolf asked on 12 Sep 2008, 03:02 AM
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

1 Answer, 1 is accepted

Sort by
0
John Fetherolf
Top achievements
Rank 1
answered on 12 Sep 2008, 12:46 PM
Nevermind on this.  I used menu.hide() instead of menu.close() on the context menu and it worked fine.

Thanks,
Kevin
Tags
Menu
Asked by
John Fetherolf
Top achievements
Rank 1
Answers by
John Fetherolf
Top achievements
Rank 1
Share this question
or