|
Inline controls overview |
|
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 "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 command in the WYSIWYG editor toolbar or (if the text is not edited by the WYSIWYG editor) they can insert the special expression %%control:MyUserControl%%
The inline control may also have a single parameter that is passed in the following format: %%control:MyUserControl?myparametervalue%%
In the next chapter, you will learn how to develop your own inline controls. |