Umbraco/Samples and Articles/Dot Net Controls/Using Querystring Parameters In UserControls

If you use usercontrols, wrapped in macros, in templates, this trick could save you a lot of time.

This is achieved by using squarebrackets and a "@".

Syntax: <?UMBRACO_MACRO macroAlias="myAlias" myProperty="[@parameter]" />

Sample: <?UMBRACO_MACRO macroAlias="myAlias" myProperty="[@id]" />

Last modified on 30 July 2006, at 09:10