Hello
If i want to open an external link in a new tab/window (ie. target="_blank") how can i do that inline derived from the CurrentPage?
Ex.
<a href="<%# Container.CurrentPage.LinkURL %>" target="<%# Container.CurrentPage.Target %>"><%# Container.CurrentPage.PageName %></a>
where the Container.CurrentPage.Target is mockup and i need to know what the correct syntax is.
/Jonas
It's Container.CurrentPage["PageTargetFrame"]
You can se all predefined properties here: http://sdk.episerver.com/library/cms6.1/html/P_EPiServer_Core_PageData_Property.htm
Thx!
Hello
If i want to open an external link in a new tab/window (ie. target="_blank") how can i do that inline derived from the CurrentPage?
Ex.
<a href="<%# Container.CurrentPage.LinkURL %>" target="<%# Container.CurrentPage.Target %>"><%# Container.CurrentPage.PageName %></a>
where the Container.CurrentPage.Target is mockup and i need to know what the correct syntax is.
/Jonas