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
Why is Document.Parent a CMSNode and not another Document?
This is because the property belongs to the the CMSNode class. Document is derived from that class.
Cheers,
Richard
All Documents are derived from CMSNode... You might be able to cast it to a Document:
var parentDoc = (Document) doc.Parent
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Why is Document.Parent a CMSNode?
Why is Document.Parent a CMSNode and not another Document?
This is because the property belongs to the the CMSNode class. Document is derived from that class.
Cheers,
Richard
All Documents are derived from CMSNode... You might be able to cast it to a Document:
is working on a reply...