AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageAttributeControl Members

The AdvantageAttributeControl type exposes the following members.

Constructors


  Name Description
Protected method AdvantageAttributeControl
Initializes a new instance of the AdvantageAttributeControl class.

Methods


  Name Description
Protected method Cancel
Cancels this instance.
Protected method CreateChildControls
Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
Public method DisableActions
Disables the actions.
Public method EnableActions
Enables the actions.
Public method getModuleByID
Gets the module by identifier.
(Inherited from CMSBaseUserControl.)
Public method GetPageSessionObject(String)
Gets the page session object.
(Inherited from CMSBaseUserControl.)
Public method GetPageSessionObject<(Of <<'(T>)>>)(String)
Gets the page session object.
(Inherited from CMSBaseUserControl.)
Public method GetParameter
Gets the parameter.
(Inherited from CMSBaseUserControl.)
Protected method InitalizeDocumentEditor
Initalizes the document editor.
(Inherited from CMSBaseUserControl.)
Protected method InitializeImageEditor
Initializes the image editor.
(Inherited from CMSBaseUserControl.)
Protected method InitializeRadEditor
Initializes the RAD editor.
(Inherited from CMSBaseUserControl.)
Public method LoadData
Loads the data.
Protected method LoadDataFromObject
Loads the data from object.
Protected method OnInit
Raises the Init event. Adds the toolbar (if visible) and the read-only warning label as child controls, and wires the toolbar's save/cancel/undo events to the handlers on this control.
Protected method OnPostCancel
Hook fired after Cancel()()()() runs but before the dialog closes. Returning false does NOT prevent the close; a non-empty message is surfaced.
Protected method OnPostLoad
Hook fired at the end of ReceiveAdvantageAttributes(AdvantageAttributeArgs), after LoadDataFromObject(AdvantageAttributeArgs) has populated the form. Returning false does NOT roll back the load; a non-empty message is surfaced.
Protected method OnPostSave
Hook fired after SendAdvantageAttributes has been raised but before the dialog closes. Returning false does NOT roll back the save — the data is already persisted by the consumer — but a non-empty message is surfaced.
Protected method OnPreCancel
Hook fired before Cancel()()()() runs. Return false to abort the cancel (the dialog stays open); a non-empty message is surfaced.
Protected method OnPreLoad
Hook fired at the start of ReceiveAdvantageAttributes(AdvantageAttributeArgs), before any state on this control is mutated. Return false to reject the incoming payload (the control is left untouched); a non-empty message is surfaced.
Protected method OnPreRender
Raises the PreRender event.
Protected method OnPreSave
Hook fired after ValidateSave(String%) passes and form values have been pulled into Attributes via SaveDataToObject()()()(), but before the consumer receives SendAdvantageAttributes. Return false to abort the save (the dialog stays open); a non-empty message is surfaced to the user.
Public method OnValidateSave
Validates the data before saving. Override to add custom validation logic.
Public method PageSessionObjectExists
Determines whether a page session object exists for the specified key.
(Inherited from CMSBaseUserControl.)
Public method ReceiveAdvantageAttributes
Receives and processes the advantage attribute arguments, initializing the toolbar and loading data.
Protected method RefreshSections
Refreshes the sections.
(Inherited from CMSBaseUserControl.)
Public method RegisterBottomScript(Literal)
Registers the bottom script.
(Inherited from CMSBaseUserControl.)
Public method RegisterBottomScript(PlaceHolder)
Registers the bottom script.
(Inherited from CMSBaseUserControl.)
Public method RegisterBottomScript(String, String)
Registers the bottom script
(Inherited from CMSBaseUserControl.)
Public method RegisterTopScript(String, String)
Registers the top script
(Inherited from CMSBaseUserControl.)
Public method RegisterTopScript(Literal)
Registers the top script.
(Inherited from CMSBaseUserControl.)
Public method RegisterTopScript(PlaceHolder)
Registers the top script.
(Inherited from CMSBaseUserControl.)
Public method SafeBool
Safely converts an object to a boolean value, returning the default if the object is null.
Protected method SafeContent
Safely casts an object to an AdvantageAdaptiveContent, returning defaults if the object is null.
Protected method SafeImage
Safely casts an object to an AdvantageImage, returning defaults if the object is null.
Protected method SafeString
Safely converts an object to a string, returning an empty string if the object is null.
Public method SaveData
Saves the data.
Protected method SaveDataToObject
Saves the current form field values into the Attributes object. Implement in derived classes.
Protected method SaveViewState
Saves any user control view-state changes that have occurred since the last page postback.
Public method SendStatusMessage(eCMSEngineEventStatus, String)
Sends the status message.
Public method SendStatusMessage(eCMSEngineEventStatus, String, String, String)
Sends the status message to the underlying CMSBasePage if it exists.
(Inherited from CMSBaseUserControl.)
Public method setNavigationSubTitle
Sets the navigation sub title.
(Inherited from CMSBaseUserControl.)
Public method SetPageSessionObject(String, Int32)
Sets the page session object.
(Inherited from CMSBaseUserControl.)
Public method SetPageSessionObject(String, String)
Sets the page session object.
(Inherited from CMSBaseUserControl.)
Public method SetPageSessionObject(String, DateTime)
Sets the page session object.
(Inherited from CMSBaseUserControl.)
Public method SetPageSessionObject(String, Decimal)
Sets the page session object.
(Inherited from CMSBaseUserControl.)
Public method SetPageSessionObject(String, Double)
Sets the page session object.
(Inherited from CMSBaseUserControl.)
Public method SetPageSessionObject(String, Boolean)
Sets the page session object.
(Inherited from CMSBaseUserControl.)
Public method SetPageSessionObject(String, Byte)
Sets the page session object.
(Inherited from CMSBaseUserControl.)
Public method SetPageSessionObject(String, SByte)
Sets the page session object.
(Inherited from CMSBaseUserControl.)
Public method SetPageSessionObject(String, Int64)
Sets the page session object.
(Inherited from CMSBaseUserControl.)
Public method SetPageSessionObject(String, Int16)
Sets the page session object.
(Inherited from CMSBaseUserControl.)
Public method SetPageSessionObject(String, UInt16)
Sets the page session object.
(Inherited from CMSBaseUserControl.)
Public method SetPageSessionObject(String, UInt64)
Sets the page session object.
(Inherited from CMSBaseUserControl.)
Public method SetPageSessionObject(String, Single)
Sets the page session object.
(Inherited from CMSBaseUserControl.)
Public method SetPageSessionObject(String, Char)
Sets the page session object.
(Inherited from CMSBaseUserControl.)
Public method SetPageSessionObject(String, Guid)
Sets the page session object.
(Inherited from CMSBaseUserControl.)
Public method SetPageSessionObject<(Of <<'(T>)>>)(String, T)
Sets the page session object.
(Inherited from CMSBaseUserControl.)
Public method ShowStatus(EngineEventArgs)
Shows the status.
(Inherited from CMSBaseUserControl.)
Public method ShowStatus(String)
Shows the status.
(Inherited from CMSBaseUserControl.)
Public method ShowStatus(String, String)
Shows the status.
(Inherited from CMSBaseUserControl.)
Public method ShowStatus(String, eCMSEngineEventStatus)
Shows the status.
(Inherited from CMSBaseUserControl.)
Public method ShowStatus(String, String, eCMSEngineEventStatus)
Shows the status.
(Inherited from CMSBaseUserControl.)
Protected method Undo
Undoes this instance.
Public method ValidateSave Obsolete.
Validates the data before saving. Override to add custom validation logic.

Fields


  Name Description
Protected field _theArgsBox
The arguments box

Properties


  Name Description
Public property ActionsEnabled
Gets or sets a value indicating whether [actions enabled].
Public property ActiveDomains
Gets the active domains.
(Inherited from CMSBaseUserControl.)
Public property AdminDomain
Gets the admin domain.
(Inherited from CMSBaseUserControl.)
Public property AdminEngine
Gets the admin engine.
(Inherited from CMSBaseUserControl.)
Public property AdminIsSSL
Gets a value indicating whether [admin is SSL].
(Inherited from CMSBaseUserControl.)
Public property AdminLanguage
Gets the admin language.
(Inherited from CMSBaseUserControl.)
Public property AdminLanguageID
Gets the admin language identifier.
(Inherited from CMSBaseUserControl.)
Public property Attributes
Gets a collection of all attribute name and value pairs declared in the user control tag within the .aspx file.
Public property CMSUsers
Gets the CMS users.
(Inherited from CMSBaseUserControl.)
Public property ConfigurationEngine
Gets the configuration engine.
(Inherited from CMSBaseUserControl.)
Public property Content
Gets or sets the content.
Public property CSPNonce
Gets the nonce value for Content-Security-Policy
(Inherited from CMSBaseUserControl.)
Public property cssFiles
Gets or sets the CSS files.
Public property CurrentNavigation
Gets the current navigation.
Public property CurrentSitepage
Gets the current sitepage.
Public property CurrentSiteSettings
The current site settings
(Inherited from CMSBaseUserControl.)
Public property CurrentSql
Gets the current SQL.
(Inherited from CMSBaseUserControl.)
Public property CurrentUser
Gets the current user.
(Inherited from CMSBaseUserControl.)
Public property DomainEngine
Gets the domain engine.
(Inherited from CMSBaseUserControl.)
Public property Enabled
Gets or sets a value indicating whether this AdvantageAttributeControl is enabled.
Public property HideToolBar
Gets or sets a value indicating whether the toolbar is hidden.
Public property ModuleEngine
Gets the module engine.
(Inherited from CMSBaseUserControl.)
Public property NavigationEngine
Gets the navigation engine.
(Inherited from CMSBaseUserControl.)
Public property PreviewKey
Gets the preview key.
(Inherited from CMSBaseUserControl.)
Public property ScriptManager
Gets the ScriptManager instance for the current page.
(Inherited from CMSBaseUserControl.)
Public property TaskEngine
Gets the task engine.
(Inherited from CMSBaseUserControl.)
Public property TemplateUrl
Gets or sets the template URL.
Public property TitleSection
Gets or sets a value indicating whether [title section].
Public property ToolBar
Gets the toolbar dialog control, loading it on first access.
Public property ToolBarCssClass
Gets or sets the tool bar CSS class.
Protected property UniqueID
Gets the unique, hierarchically qualified identifier for the server control.
Public property UserEngine
Gets the user engine.
(Inherited from CMSBaseUserControl.)

Events


  Name Description
Public event CloseAdvantageAttributeControl
Occurs when [close advantage attribute control].
Public event SendAdvantageAttributes
Occurs when [send advantage attributes].