@slide.actionButtonLink --> link to a specific node
@link is not filled and I get this error in the log file: Exception: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: The best overloaded method match for 'umbraco.uQuery.GetNode(string)' has some invalid arguments
Could anyone help me? What's wrong in my code? and why the same code is not working in these two different cshtml files?
Umbraco 6.0.2 Get Url from node ID
Hi all,
I'm trying to get the url from a node from a content picker.
This code works fine:
@link is correctly filled according to item.link
This code si the same but is not working:
Exception: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: The best overloaded method match for 'umbraco.uQuery.GetNode(string)' has some invalid arguments
Could anyone help me?
What's wrong in my code? and why the same code is not working in these two different cshtml files?
Thanks in advance.
Dams
Juste found the answer through many tries/errors:
in the second (not working) example, I just tried this:
It works!
I don't get it! Why two identic loops work with different codes? Can someone light my way?
Thanks.
is working on a reply...