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
|
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.aspxThanks!
|