Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Umbraco/Samples and Articles/Dot Net Controls/Using Page Properties In UserControls

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

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 "#". Remember, that in template you can also use # for dictionary item, but only when using GET_ITEM. Dictionary items will not work for Macro parameters. Syntax: Sample: This also works with default properties like More: Label="[@name]" : Request["name"] Label="[%name]" : Session["name"] Label="[#name]" : Page.Elements["name"]