Click or drag to resize
EditingFormControl Class
EditingFormControl control.
Inheritance Hierarchy

Namespace: CMS.FormEngine.Web.UI
Assembly: CMS.FormEngine.Web.UI (in CMS.FormEngine.Web.UI.dll) Version: 10.0.0
Syntax
C#
public class EditingFormControl : FormEngineWebControl, 
	ICallbackEventHandler

The EditingFormControl type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAllowMacroEditing
Determines whether to display the "Edit macro" button.
Public propertyBadWordsList
List of found bad words.
Public propertyBadWordsResult
Result of bad word check.
Public propertyContextResolver
Gets or sets macro resolver for given control.
Public propertyControlStyle
CSS style of the control.
(Inherited from FormEngineWebControl.)
Public propertyCssClass
CSS class of the control.
(Inherited from FormEngineWebControl.)
Public propertyData
Data to be edited.
Public propertyDataDR
Node data. This property is used only for passing values to the control.
(Inherited from FormEngineWebControl.)
Public propertyDataValue
Data value.
Public propertyEnabled
Enabled.
(Overrides WebControlEnabled.)
Public propertyField
Field name to which the field belongs. This property is only supported in templated form.
Public propertyFieldInfo
Field info object.
(Inherited from FormEngineWebControl.)
Public propertyFieldType
Field type.
Public propertyForm
Parent form.
(Inherited from FormEngineWebControl.)
Public propertyFormControlName
Form control code name.
Public propertyFormControlParameter
Helper property to use custom parameter in form control.
(Inherited from FormEngineWebControl.)
Public propertyFormControlPath
Form control path.
Public propertyHasValue
Returns true if the control has value, if false, the value from the control should not be used within the form to update the data
(Inherited from FormEngineWebControl.)
Public propertyIsDefaultValueAndMacro
Returns true if default value of formfield is macro expression and current value is the default value.
Public propertyIsInsertMode
Is insert mode.
Public propertyIsLiveSite
Indicates if the control is on live site.
Public propertyIsMacro
Determines whether the value is macro or not.
Protected propertyItemName
Name of the edited item.
Public propertyMacroEditButton
Gets the button control which shows the modal dialog with macro editor.
Public propertyMacroTable
Macro table.
Public propertyMode
Mode of the form.
Public propertyNestedControl
Gets the nested control.
Public propertyNestedControlPanel
Gets the Panel where the nested control is placed.
Protected propertyOriginalValue
Original control value
Public propertyRemoveMacroButton
Gets the button control for removing macro.
Public propertyResolverName
Gets or sets macro resolver name.
Public propertyStopProcessing
If true, control does not process the data.
(Inherited from FormEngineWebControl.)
Public propertyValidationError
Validation error string shown when the control is not valid.
(Inherited from FormEngineWebControl.)
Public propertyValue
Gets or sets the value to the nested control.
(Overrides FormEngineWebControlValue.)
Public propertyValueDisplayName
Gets the display name of the value item. Returns null if display name is not available.
(Inherited from FormEngineWebControl.)
Public propertyValueElementID
Gets ClientID of the control from which the Value is retrieved or null if such a control can't be specified.
(Overrides FormEngineWebControlValueElementID.)
Public propertyValueForValidation
Returns value prepared for validation.
(Overrides FormEngineWebControlValueForValidation.)
Top
Methods
  NameDescription
Protected methodCreateChildControls
Renders the control at run-time.
(Overrides ControlCreateChildControls.)
Public methodEnsureControls
Ensures the inner controls.
Public methodGetCallbackResult
Gets callback result.
Public methodStatic memberGetInputClientID(ControlCollection)
Gets client ID of first inner input control which is not already associated with some label.
Public methodStatic memberGetInputClientID(ControlCollection, Hashtable) Obsolete.
Goes through controls collection and insert into provided hashtable input, select and file controls without associated label.
Public methodStatic memberGetInputControlID
Gets control ID of first inner input control which is not already associated with some label.
Public methodGetOtherValues
Redirects to NestedControl GetOtherValues() or returns null if nested control is not FormEngineUserControl.
(Overrides FormEngineWebControlGetOtherValues.)
Public methodGetSpellCheckFields
Returns the list of the field IDs (Client IDs of the inner controls) that should be spell checked.
(Inherited from FormEngineWebControl.)
Public methodCheckBadWords
Perform bad words check.
Public methodIsValid
Validation of the control.
(Overrides FormEngineWebControlIsValid.)
Public methodLoadControlValue
Loads control value
(Inherited from FormEngineWebControl.)
Public methodLoadOtherValues
Loads the other fields values to the state of the form control
(Inherited from FormEngineWebControl.)
Protected methodLoadViewState
Customized LoadViewState.
(Overrides WebControlLoadViewState(Object).)
Protected methodOnInit
Init event handler.
(Overrides ControlOnInit(EventArgs).)
Protected methodOnPreRender
PreRender event handler.
(Overrides ControlOnPreRender(EventArgs).)
Protected methodPage_InitComplete
Event handler of page's init complete.
Public methodRaiseCallbackEvent
Raise callback method.
Public methodReload
Reloads the control.
Protected methodRender
Renders the control at design-time.
(Overrides FormEngineWebControlRender(HtmlTextWriter).)
Protected methodSaveViewState
Customized SaveViewState.
(Overrides WebControlSaveViewState.)
Public methodSetValue
Sets control value.
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