The Adillis.SmartDBForms.Templates namespace contains classes which are used for creating user interface templates and template .ascx files.
| Class | Description |
|---|---|
| AdHocPropertyName | The item used in the AdHocPropertyNames collection. |
| BaseTemplatesHolder | This is the base class for the web server controls that define the templates in a template storage .ascx file. |
| LabelHolder | Holder for a label template. This template displays only the label part of the user interface for a database column. LabelHolder is used to share one label template between many TemplateHolder templates. |
| LayoutHolder | Determines the layout of the label and data templates. Used by TemplateHolder when rendering the label and data templates. |
| SmartCssLink | This control is used in TemplatesUserControl .ascx files. It indicates the .css files which must be linked when BaseSmartDBControl renders templates from this .ascx file. Using this control you make sure that when the templates from the containing .ascx file are used, the proper .css files will be references automatically. In order the SmartCssLink to work in runtime, the parent aspx page must have <head runat='server'<. |
| SmartJSLink | This control is used in TemplatesUserControl .ascx files. It indicates the .js script files which must be linked when BaseSmartDBControl renders templates from this .ascx file. Using this control you make sure that when the templates from the containing .ascx file are used, the proper .js files will be references automatically. |
| TemplateHolder | Represents a set of a readonly, edit and label templates that are used for displaying and editing data. The edit and readonly templates are according to the CurrentMode. During databind the template selection method( either SelectTemplateID or SelectTemplateID) should return an ID of a TemplateHolder. |
| TemplateHolderCustomCommandArgs | Argument for the CustomCommand event. |
| TemplateHolderExtractingEventArgs | Argument for the ExtractingValues event. |
| TemplatesControlCenter | A helper user control that is used only in design time in a template file. TemplatesControlCenter has smart-tag commands which assist during the creation of new templates. |
| TemplatesUserControl | The base class for each .ascx file which is used as templates storage. |
| Delegate | Description |
|---|---|
| TemplateHolderCustomCommandHandler | Represents the method that will handle the CustomCommand event. |
| TemplateHolderExtractingEventHandler | Represents the method that will handle the ExtractingValues event. |