AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageGrid..::..grdItems_ItemCommand Method

Translates Telerik grid commands (InitInsert, Select, Delete, Active/InActive, Featured/NotFeatured) into the strongly-typed OnLoadObject, OnDeleteObject, OnToggleActive, OnToggleFeature events. Cancels Telerik's built-in insert flow on the Add button — the host is expected to raise its own edit form instead.

Namespace:  AdvantageCMS.Web.UI.Admin
Assembly:  AdvantageCMS.Web.UI (in AdvantageCMS.Web.UI.dll)

Syntax


public void grdItems_ItemCommand(
	Object source,
	GridCommandEventArgs e
)

Parameters

source
Type: Object
The grid raising the event.
e
Type: GridCommandEventArgs
Event arguments carrying the command name and target item.