Welcome Guest Search | Active Topics | Sign In | Register

Menu using Web.sitemap how to target="_blank" Options
Paul
Posted: Tuesday, January 31, 2012 8:15:26 PM
Rank: Newbie
Groups: Member

Joined: 4/15/2009
Posts: 3
I have linked your menu object to use the Web.sitemap (via SiteMApDataSource) how can I make certain menu items open URLs in a different window i.e target="_blank"?

Thanks Paul
eo_support
Posted: Wednesday, February 1, 2012 9:25:27 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

There is no direct way to do that with SiteMapDataSource. You can use an XmlDataSource with the same sitemap file, then use DataBinding object to map one of the xml node attribute to menu item's TargetWindow property. See here for more details:

http://www.essentialobjects.com/doc/1/menucommon/databinding/populate_datasource.aspx

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.