I have build my own server control inherting from WebMenu.
I have added the server side menuitemclicked event and have also build the menu item.
I have set the target to PopupMenu
On right click , I call the clinet side method (igmenu_showMenu) to show the menu and it works.
But the serverside menuclicked event is not firing. Please help.
Note: I have also creating the instance of webmenu instead of inheriting and I have the same problem.
Thanks.
Maybe because you set a targeturl?
Remove it and make a redirect to your page instead of setting targeturl
I am having similar issues and I tried your example. It works up to a certain point. If I run it unchanged it works everytime but if you add a TargetUrl to a item then the MenuItemClick is not fired when that item is clicked! Since most menu items have a TargetUrl it is strange the MenuItemClick does not work with it.
Why isn't the MenuItemClick fired when a TargetUrl has been assigned to the item?
Hello,
I am trying to reproduce the issue, unfortunately to no avail. I use NetAdvantage 8.3 VS2008 SP1. Please take a look at the attached sample.
Hope this helps.