EPiWiki.se  - EPiServer notes shared with others
 

Simple - usercontrols

[Edit]
Notes how to develop Umbraco macros based on user controls

Creating the control


The user kontrol is an normal ASP.NET user control that inherit from System.Web.UI.UserControl

Documents and nodes


Get a property on curren page



Document d = new Document(Node.GetCurrent().Id);
umbraco.cms.businesslogic.property.Property prop = d.getProperty("prop alias");

Members

Version author:
Mattias Lövström

EPiServer version

All