Ektron
Using Ektron Building Block Server Controls
Ektron building block server controls provide the basic modular components used to construct a website with easy-to-use server controls. These controls allow your site to use themes, and complex coding is reduced.
Ektron building block server controls are based on jQuery, a commonly used open source library that makes Web development easy and the user interface engaging. See Also: www.jquery.com.
IMPORTANT: The Ektron Developer Reference site contains documentation and examples of the Framework UI, Framework API, and templated controls.
Server controls that have a template property lets a developer do more with the UI components and styles without using extensive XSLTExtensible Stylesheet Language Transformations.
You can modify the user interface of server controls with markup inside the <ItemTemplate>
element as shown in the following code.
<ServerControl [properties]> <ItemTemplate>example html markup and eval functions <p><%# Eval([Model Property]) %></p> </ItemTemplate> </ServerControl>
In this example, ServerControl has a property called ItemTemplate. The ItemTemplate allows markup that describes UI components rendered in the browser.
All controls in the namespace EktronUI use their name in the outermost wrapper of the HTML. This provides an easy way to adjust margins and padding styles for specific controls. The naming convention for this class is ektron-ui-control. For example, when using the EktronUI: EktronDatePicker
, you will see this html rendered to your browser.
<span id="ctl00_datepicker1_DatePicker_uxDatePicker" class="ektron-ui-datepicker">
An exception to this rule is EktronUI:Blueprint
, which is a wrapper control.
For more information, see:
EktronUI Controls
.siteroot/bin/Ektron.Cms.Framework.UI.Controls.EktronUI.dll