AdvantageCMS.Web.UI.Admin Namespace
Classes
| Class | Description | |
|---|---|---|
|
|
AdvantageGrid |
Reusable list-editor server control that extends Telerik RadGrid with built-in
edit / delete / activate-toggle / feature-toggle / drag-drop-reorder behaviour. The host page
supplies the data source through the standard NeedDataSource()()()() event and
persists changes; the control renders the rows and raises strongly-typed events identifying
which row was acted on (via GridDataKeyValue lists, so composite keys are
supported).
|
|
|
AdvantageGrid..::..AdvantageGridArgs |
Event arguments for the non-toggle row commands (Add, Edit, Delete). Setters are
protected internal so only the grid can populate them.
|
|
|
AdvantageGrid..::..AdvantageGridItem |
Lightweight row identifier carried on every event raised by AdvantageGrid.
Wraps the list of GridDataKeyValue pairs that uniquely identify the row;
pass them to [GetRecordFromList{T}] to resolve back to the original entity.
|
|
|
AdvantageGrid..::..AdvantageGridSortArgs |
Event arguments for drag-drop reordering. Items reflects the rows in their
new order at the moment of drop — assign SortOrder by index in the handler and
persist.
|
|
|
AdvantageGrid..::..AdvantageGridToggleArgs |
Event arguments for the active and featured toggle columns. Adds the new boolean state
to the base AdvantageGrid..::..AdvantageGridArgs payload.
|
|
|
GridColumnDefinition |
Declarative description of a single visible column on AdvantageGrid. Items go
into the grid's Columns collection (either inline in markup or
added in code-behind); the grid converts each one into a Telerik
GridBoundColumn at PreRender.
|
|
|
GridDataKeyValue |
One element of a row's primary key — pairs a key field name with the value that field holds
for the clicked row. AdvantageGrid emits a List of these on
every row event so handlers can identify the record under both single- and composite-key
scenarios.
|
Delegates
| Delegate | Description | |
|---|---|---|
|
|
AdvantageGrid..::..AdvantageGridHandler |
Delegate signature for [OnLoadObject] and [OnDeleteObject].
|
|
|
AdvantageGrid..::..AdvantageGridHandlerReordered |
Delegate signature for [OnReordered].
|
|
|
AdvantageGrid..::..AdvantageGridHandlerToggle |
Delegate signature for [OnToggleActive] and [OnToggleFeature].
|
Enumerations
| Enumeration | Description | |
|---|---|---|
|
|
AdvantageGrid..::..GridCommandType |
Identifies which grid command produced an AdvantageGrid..::..AdvantageGridArgs. Lets a single
shared event handler distinguish Add vs Edit, etc.
|

