AbstractBasicForm Class |
Namespace: CMS.FormControls
public abstract class AbstractBasicForm : CMSDynamicWebControl, INamingContainer, ITimeZoneManager, IControlContextManager
The AbstractBasicForm type exposes the following members.
Name | Description | |
---|---|---|
AbstractBasicForm |
Constructor.
|
Name | Description | |
---|---|---|
AllowSpellCheck |
Indicates if spell check is allowed. Not allowed by default.
| |
ControlContext |
Gets the current control context.
| |
CustomTimeZone |
Gets or sets custom time zone info. This time zone is used when TimeZoneType is 'custom'.
| |
Data |
Data to be edited.
| |
DataRow |
Data to be edited.
| |
FieldActionsControls |
Contains FieldActions controls if the form is in design mode (BasicForm.IsDesignMode property).
| |
FieldControls |
Dictionary with FormEngineUserControl objects.
| |
FieldEditingControls |
Dictionary with EditingFormControl objects.
| |
FieldErrorLabels |
FieldErrorLabels.
| |
FieldLabels |
FieldLabels.
| |
Fields |
List of field names in order they appear in the form.
| |
FieldUpdatePanels |
Contains update panels which surround the fields (whole rows including labels) if the form is in design mode (BasicForm.IsDesignMode property).
| |
FieldVisibilityControls |
Visibility controls hashtable.
| |
FormInformation |
Form information.
| |
InitCompleted |
If true, the initialization of the control has already completed and won't repeat. Set to true in your initialization code.
(Inherited from CMSDynamicWebControl.) | |
InitEarly |
If true, the control initializes on BeforeInitComplete, otherwise on InitComplete event.
(Inherited from CMSDynamicWebControl.) | |
IsInsertMode |
Indicates if the control is used for inserting a new object.
| |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from CMSWebControl.) | |
Mode |
Gets or sets the mode of the form.
| |
ProcessDisabledFields |
Indicates if disabled fields should be processed (validated and saved). Default value is true in insert mode and false in edit mode.
| |
ShortID |
Short ID of the control.
(Inherited from CMSWebControl.) | |
SpellCheckFields |
List with client Ids of fields that should be spell checked.
| |
StopProcessing |
Indicates if processing of the code of this control should continue. It can be used after raising an event.
(Inherited from CMSDynamicWebControl.) | |
TimeZoneType |
Gets or sets time zone type for child controls. Default value is TimeZoneTypeEnum.Inherit.
| |
UIContext |
Returns control's UI context
(Inherited from CMSWebControl.) |
Name | Description | |
---|---|---|
CreateChildControls |
Renders the control at run-time.
(Inherited from CMSDynamicWebControl.) | |
EnsureInitialization |
Initializes the control. Is called within InitComplete or
(Inherited from CMSDynamicWebControl.) | |
GetControlValue |
Gets the value of specified field.
| |
GetDataValue |
Returns DataRow value for the specified column.
| |
InitializeControl |
Initializes the control. Is called within InitComplete or BeforeInitComplete (based on property InitEarly), or LoadViewState.
You need to make sure to set the InitCompleted property once your control is properly initialized to avoid multiple initializations.
(Inherited from CMSDynamicWebControl.) | |
InitSpellCheck |
Initializes the spell checker.
| |
ItemChanged |
Checks if item has changed.
| |
LoadControlValues |
Loads the values from the data container to the form controls.
| |
LoadViewState |
Customized LoadViewState.
(Inherited from CMSDynamicWebControl.) | |
OnInit |
Init event handler.
(Inherited from CMSDynamicWebControl.) | |
OnLoad |
Load event handler.
(Inherited from CMSDynamicWebControl.) | |
Page_InitComplete |
Event handler of page's init complete.
(Inherited from CMSDynamicWebControl.) | |
Render |
Renders the control at design-time.
(Overrides WebControlRender(HtmlTextWriter).) | |
SaveControlValue |
Saves the control value to the data.
| |
SaveViewState |
Customized SaveViewState.
(Inherited from CMSDynamicWebControl.) | |
SetDataValue |
Sets value of the given column in the data.
|
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
CallHandled |
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.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) |
Name | Description | |
---|---|---|
OnGetControlValue |
Occurs when a value is being extracted from a form control.
|