Showing posts with label Umbraco NodeId. Show all posts
Showing posts with label Umbraco NodeId. Show all posts

Monday, June 22, 2009

Umbraco Tip #1

Over the next few weeks I'll be posting a daily tips about the Umbraco library and how to use them in your code behind when building Umbraco user controls. This tips are targeted towards beginners of Umbraco user controls.

Tip #1

How to get the current nodeid from code behind?

umbraco.presentation.nodeFactory.Node.GetCurrent().Id