New/Edit container

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

The following properties can be entered when creating a new web part container, or editing an existing one:

 

Display name

The name of the container displayed to the users.

Code name

The name of the container used in code.

Text before web part

HTML content displayed before the web part - the beginning of the envelope.

Text after web part

HTML content displayed after the web part - the closing part of the envelope.

 

The Text before/after web part fields can contain dynamically inserted values of the web part properties. You can insert them using the following expression:

 

{%propertyname%}

 

You will most often use the following expression to insert the container title:

 

{%ContainerTitle%}

 

These macro expressions are resolved even when macro resolving for the particular web part (Disable macros property) is disabled.

 

More resources can be found at:

 

Developer's Guide -> Development -> Web parts -> Web part containers -> Containers overview
Developer's Guide -> Development -> Web parts -> Web part containers -> Creating web part containers

 

Page url: http://devnet.kentico.com/docs/5_5r2/contexthelp/index.html?newedit_container.htm