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 need to create something similar to
dynamic model = new umbraco.MacroEngines.DynamicNode(umbraco.NodeFactory.Node.GetCurrent());
Is there anyway to use the DynamicNode where I've only got the Id of a Node without using the GetCurrent() function?
Any help will be great.Thanks
Try this:
dynamic model = new umbraco.MacroEngines.DynamicNode(new umbraco.NodeFactory.Node(id));ordynamic model = new umbraco.MacroEngines.DynamicNode(id);
Jeroen
Thanks Jeroen, it works :D
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Using DynamicNode in C# without using GetCurrent()
I need to create something similar to
Is there anyway to use the DynamicNode where I've only got the Id of a Node without using the GetCurrent() function?
Any help will be great.
Thanks
Try this:
Jeroen
Thanks Jeroen, it works :D
is working on a reply...