DynamicNode dNode = new DynamicNode(1247); <div>@dNode.title</div>
But it does not works. I get following error on second line: CS1061: 'umbraco.MacroEngines.DynamicNode' does not contain a definition for 'title' and no extension method 'title' accepting a first argument of type 'umbraco.MacroEngines.DynamicNode' could be found (are you missing a using directive or an assembly reference?)
On the other hand if i run following code i can see an alias named "title"
DynamicNode dNode = new DynamicNode(1247); var ll = dNode.PropertiesAsList; foreach(var l in ll) { <div>@l.Alias</div> }
DynamicNode.<alias> not working in U4.11.1
Hi community
I have following code:
But it does not works. I get following error on second line: CS1061: 'umbraco.MacroEngines.DynamicNode' does not contain a definition for 'title' and no extension method 'title' accepting a first argument of type 'umbraco.MacroEngines.DynamicNode' could be found (are you missing a using directive or an assembly reference?)
On the other hand if i run following code i can see an alias named "title"
Hi Community... any help please.
Try this:
Jeroen
This one worked. Thanks a lot Jeroen.
is working on a reply...