Skip to main content

BaseControl

The BaseControl class represents a base control with event handling, property management, and difference detection.

Properties

NameDescription
ExecutedServerEventsA list of server events that have been executed.
ServerEventsA list of server-side events associated with the control.
NameThe name of the control.
ClientEventsA list of client-side events associated with the control.
ControlIdThe unique identifier of the control.

Constructors

NameDescription
BaseControl()Initializes a new instance of the BaseControl class with empty event lists.

Methods

NameDescription
OnPropertyChanged(sender, e)Handles the property changed event.
GetDifferences(otherObj)Compares the current instance with another control and returns the differences.
OnPropertyValueGet(sender, e)Raises the PropertyValueGet event.
OnPropertyChanging(sender, e)Handles the property changing event.
OnLoad(sender, e)Raises the Load event.
SetPropertyValue(mapping, value)Sets the value of a property specified by a mapping.
OnRender(sender, e)Raises the Render event.
GetProtectedData(isDisabledOrReadOnly)#import (Bimser.CSP.FormControls.Base.ICanProtectData.GetProtectedData(bool)) (shortDescription)
OnPreRender(sender, e)Raises the PreRender event.
OnInit(sender, e)Raises the Init event.

Events

NameDescription
LoadTriggered when the control is loaded.
PropertyValueGetTriggered when retrieving a control property value.
PreRenderTriggered before the control is rendered.
RenderTriggered when the control is rendered.
InitTriggered when the control is initialized.