User-985212943 posted
When I include target="_blank" in the MenuItem, the output includes onclick="window.open(this.href,'_blank',")
My client was complaining that some of her customers could not open the link. I discovered that in IE7, if your
Pop-Up Blocker settings were set to High (block all pop-ups) then this was treated as a pop-up and blocked. I suspect that they had modified their filter settings to high. When set to Med or Low, this is not a problem.
This code:
<Items>
<asp:MenuItem NavigateUrl="http://www.all-waysrealestate.com/" Target="_blank" Text="Real Estate" />
</Items>
Produces this:
<li class="AspNet-Menu-Leaf">
<a href="http://www.all-waysrealestate.com/" class="AspNet-Menu-Link" onclick="window.open(this.href, '_blank', ''); return false;" onkeypress="window.open(this.href, '_blank', ''); return false;">
Real Estate</a>
</li>