AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageAttributeControl..::..Attributes Property

Gets or sets the typed key/value bag the editor configures for this dialog instance, persisted with the SitePage and read back by the matching AdvantageModule at render time.

Namespace:  AdvantageCMS.Core.Common.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public AdvantageAttributes Attributes { get; set; }

Field Value

The configured attributes.

Remarks


State persists across postbacks within an editing session. The framework deserializes the bag from a hidden field in OnInit (after EnsureChildControls, before base.OnInit) and reserializes it in SaveViewState, so reads and writes from any handler — including Page_Init — see and persist values across the request lifecycle. Persistence added 2026-05-03; previously the bag was reset to empty on every postback and class-typed values had to be cached manually.