Click or drag to resize
EditingFormControl Class
EditingFormControl control.
Inheritance Hierarchy
SystemObject
  System.Web.UIControl
    System.Web.UI.WebControlsWebControl
      CMS.FormEngine.Web.UIFormEngineWebControl
        CMS.FormEngine.Web.UIEditingFormControl

Namespace: CMS.FormEngine.Web.UI
Assembly: CMS.FormEngine.Web.UI (in CMS.FormEngine.Web.UI.dll) Version: 13.0.131
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 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 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 propertyIsMacro
Determines whether the value is macro or not.
Protected propertyItemName
Name of the edited item.
Public propertyMacroTable
Macro table.
Public propertyNestedControl
Gets the nested control.
Public propertyNestedControlPanel
Gets the Panel where the nested control is placed.
Protected propertyOriginalValue
Original control value
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
Gets client ID of first inner input control which is not already associated with some 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 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.
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