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 try get a content from page(node) by id
how get it? i need a bodyText!
may be, i need somethink like this - umbraco.library.GetXmlNodeById, but not xml, i want node class?
try this:
string bodyText = new umbraco.presentation.nodeFactory.Node(YOURNODEID).GetProperty("bodyText").Value
See the documentation: http://our.umbraco.org/wiki/reference/api-cheatsheet/working-with-the-nodefactory
hth, Thomas
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
how load page(node) from code befind of webcontrol(macro)?
i try get a content from page(node) by id
how get it? i need a bodyText!
may be, i need somethink like this - umbraco.library.GetXmlNodeById, but not xml, i want node class?
try this:
See the documentation: http://our.umbraco.org/wiki/reference/api-cheatsheet/working-with-the-nodefactory
hth, Thomas
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.