Click or drag to resize
BasicMultiColumnTable Class
Table control that displays specified records in columns instead of rows.
Inheritance Hierarchy

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax
C#
[SerializableAttribute]
public class BasicMultiColumnTable : CMSWebControl, 
	INamingContainer

The BasicMultiColumnTable type exposes the following members.

Constructors
  NameDescription
Public methodBasicMultiColumnTable
Top
Fields
  NameDescription
Protected fieldmDataSource
DataSource variable.
Protected fieldmTableParams
Table params.
Top
Properties
  NameDescription
Public propertyDataSource
DataTable object containing rows to be displayed.
Public propertyIsLiveSite
Indicates if control is used on live site.
(Inherited from CMSWebControl.)
Public propertyRenderFalseValueUsingEmptyTemplate
Indicates if false value of boolean type-columns should be displayed using the template for empty value.
Public propertyShortID
Short ID of the control.
(Inherited from CMSWebControl.)
Public propertyTableCellCssClass
Table cell (TD) CSS class.
Public propertyTableCellPadding
Table cell padding.
Public propertyTableCellSpacing
Table cell spacing.
Public propertyTableCssClass
Table CSS class.
Public propertyTableFirstColumnCellCssClass
CSS class of first table columns' cells (TD).
Public propertyTableFirstRowCellCSSClass
Table cell (TD) CSS class for the first row of the table.
Public propertyTableFirstRowCssClass
First table row (TR) CSS class.
Public propertyTableParams
Params of the table to be displayed.
Public propertyTableRowCssClass
Table row (TR) CSS class.
Public propertyTableSeparatorCellCssClass
CSS class of the separator cell (TD).
Public propertyTableSeparatorRowCssClass
CSS class of the separator row (TR).
Protected propertyTagKey
Overrides the generation of the SPAN tag with custom tag.
(Overrides WebControlTagKey.)
Public propertyUIContext
Returns control's UI context
(Inherited from CMSWebControl.)
Top
Methods
  NameDescription
Protected methodCreateChildControls
Renders the control at run-time.
(Overrides ControlCreateChildControls.)
Protected methodOnInit
Init event handler.
(Inherited from CMSWebControl.)
Protected methodProcessTemplate
Processes template definition and replaces macros with their values.
Protected methodRender
Renders the control at design-time.
(Overrides WebControlRender(HtmlTextWriter).)
Top
Extension Methods
  NameDescription
Public Extension MethodAddCssClass
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodCallHandled
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page. Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.)
Public Extension MethodGetCssClasses
Returns all CSS classes of control.
(Defined by ControlsExtensions.)
Public Extension MethodGetRenderedHTML
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by ControlsExtensions.)
Public Extension MethodHasCssClass
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodRemoveCssClass
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodSetCssClasses
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.)
Top
See Also