view more software Tips and Tricks
Updated: 01/21/2011 15:01 PM
Author: Shiju Mathews
Traditionally asp:Menu will open pages in the same window only. But .net 2.0 add a proprety called ‘Target’ to the ‘asp:MenuItem’. so that we can open that menu item in a new window.
With the release of ASP.net 4.0, asp:Menu is more attractive with the RenderingMode ="List" property.To know about more read ASP .net Menu in ASP 4.0/ ASP Menu using List Item.
Target values can be '_blank', '_parent', '_search', '_self', '_top'. For more information Please read MenuItem.Target Property
Let’s take a look at the ‘ASP Menu’ control
Here the top two menu item will open in the same window and the last one will open in a new window.