I'm binding some items to a menu. Assuming, my site address is "www.abc.com/Dev", the menu items automatically get the navigateUrl of "www.abc.com/Dev/#".
Now, these menu items when clicked open some applications like 'Notepad'.
Because of the navigateUrl property of these menu items, if I right click on the items, it gives me a context menu and if I click on 'Open in New Window', it takes me back to my original site.
Ideally, this is the wrong behaviour. Is there some way I can prevent the setting of the navigateUrl? I tried making:
menuItem.NavigateUrl = null
But once the menuItems are initialized, they have the navigateUrl property set with #.
Is there any way I can prevent this.