Overview

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

Inline controls are user controls (ASCX) that can be placed into the text of editable regions using a special expression in format %%control:MyUserControl%%, where MyUserControl is the name of the inline control. The system dynamically loads the controls when the page is displayed on the live site.

 

The controls may contain any functionality, such as "polls", "latest news", "mortgage calculator", "travel destination search", etc. The advantage of inline controls is that any content editor can place them anywhere into the text without programming knowledge.

 

How to insert inline controls into text

 

Inline controls can be inserted into text using the Insert inline control (fckInlineControls) button on the WYSIWYG editor toolbar. If the text is not edited in the WYSIWYG editor, you can insert inline controls by typing the %%control:MyUserControl%% expressions manually. Only controls that have been registered in the system and assigned to the currently edited site can be inserted. This can be done at Site Manager -> Development -> Inline controls.

 

The inline control may also have a single parameter. In this case, you must use one of the following expression formats:

 

%%control:BizFormControl?form1%%
{^BizFormControl|form1^}
{^BizFormControl|(formname)form1^}

 

To learn how to create a new inline control and add it to the system, please see the Developer's Guide -> Development -> Inline controls -> How to develop inline controls topic.

 

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