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
Hi,
I'd like to allow to submit my form on multiple pages, but with redirect to child page.
My XPath is: $currentPage/child::@id
http://prntscr.com/bg9pc2
An exception of type 'System.Xml.Xsl.XslLoadException' occurred in System.Web.Mvc.dll but was not handled in user code
Additional information: Expected a node test, found '@'.
$currentPage/child:: -->@<-- id
FYI: $currentPage/@id - seems works ok and page reloads with recordid as query string
Thanks, Mike
I found solution which works for me:
$currentPage/descendant-or-self::CHILDDOCTYPEALIAS/@id
Maybe anybody find more simple way without specifying child doctype.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
XPath: how to select current page child id
Hi,
I'd like to allow to submit my form on multiple pages, but with redirect to child page.
My XPath is: $currentPage/child::@id
http://prntscr.com/bg9pc2
An exception of type 'System.Xml.Xsl.XslLoadException' occurred in System.Web.Mvc.dll but was not handled in user code
Additional information: Expected a node test, found '@'.
$currentPage/child:: -->@<-- id
FYI: $currentPage/@id - seems works ok and page reloads with recordid as query string
Thanks, Mike
I found solution which works for me:
$currentPage/descendant-or-self::CHILDDOCTYPEALIAS/@id
Maybe anybody find more simple way without specifying child doctype.
is working on a reply...