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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...