Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm trying to select a node in a user control that is of a particular doctype at either the current level or a parent of the current node. This basically but in a user control
<xsl:variable name="nodes" select="$currentPage/ancestor-or-self::ContactUs" />
Managed to work it out. Did it using this code
Node contactNode = Node.GetNodeByXpath("//ancestor-or-self::ContactUs");
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
$currentPage/ancestor-or-self user control
I'm trying to select a node in a user control that is of a particular doctype at either the current level or a parent of the current node. This basically but in a user control
Managed to work it out. Did it using this code
is working on a reply...