Inline controls 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 text using a special expression in format %%control:MyUserControl%%

where MyUserControl is name of the user control file without the ".ascx" extension. The system then dynamically loads the controls when the page is diplayed on the live site.

 

The controls may contain any functionality, such as "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 the inline controls into the text

 

The inline controls can be inserted into the text using the Insert inline control (fckInlineControls) command in 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.

 

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

 

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

 

In the next chapter, you will learn how to develop your own inline controls.

 

Page url: http://devnet.kentico.com/docs/devguide/index.html?inline_controls_overview.htm