Default Navigation Widget open in new tab

Posted by Community Admin on 04-Aug-2018 19:11

Default Navigation Widget open in new tab

All Replies

Posted by Community Admin on 23-Apr-2013 00:00

I am using the navigation widget which is available in the toolbox. I am using "custom selected pages" with vertical style. Is there a way to force some of the pages to open in a new tab. Literally all I am trying to do is add target ="_blank" in the anchor tag,

Posted by Community Admin on 26-Apr-2013 00:00

Hello,

For this one you will need to use an external navigation template (see Other options... section at the bottom) and you can subscribe to the ItemDataBound event of the control you're using on the template and set target blank to the tab/node/item (depending on the control again). For example:

protected void RadSiteMap1_NodeDataBound(object sender, Telerik.Web.UI.RadSiteMapNodeEventArgs e)
    
            e.Node.Target = "_blank";
    

All the best,
Pavel Benov
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed