New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Events

RadDataForm provides the following server-side events:

Events

EventsDescription
ItemCommandFires when any command button is clicked in RadDataForm control. All bubbled events of the objct fire the ItemCommand event.
EditCommandFires when an edit command has been triggered.
UpdateCommandFires when an update command is triggered.
InsertCommandFires when a insert command is triggered.
DeleteCommandFires when a delete command is triggered.
CancelCommandFires when an insert or edit action is cancelled.
PageIndexChangedFires when a paging action is performed.
NeedDataSourceFires when RadDataForm is about to be bound and the data source must be assigned.
DataBindingFired right before the server control binds to a data source.
DataBoundFired when the server control is bound to a data source.
ItemDeletedFired when an automatic delete operation is executed.
ItemUpdatedFired when an automatic update operation is executed.
ItemInsertedFired when an automatic insert operation is executed.
ModeChangedFired when CurrentMode has changed.

The ASP.NET page framework provides a technique called event bubbling that allows a child control to propagate events up its containment hierarchy.Event bubbling enables events to be raised from a more convenient location in the controls hierarchy and allows event handlers to be attached to theoriginal control as well as to the control that exposes the bubbled event.

When an event bubbles from a child control, RadDataForm will fire ItemCommand event. A child control(such as a Button server control) raises a bubble event if you set any value in CommandName property.

Here is a list of the available command names in Telerik RadDataForm:

Command NameDescription
PageFired when the PageSize property is set and changed.
EditRepresents the Edit command name. Fires RadDataForm.EditCommand event.
UpdateRepresents the Update command name. Fires RadDataForm.UpdateCommand event.
CancelRepresents the Cancel command name. Fires RadDataForm.CancelCommand event.
DeleteRepresents the Delete command name. Fires RadDataForm.DeleteCommand event.
InitInsertOpens the insert item. Fires RadDataForm.InitInsertCommand event.
PerformInsertThis command perform automatic insert operation and close the insert item. Fires RadDataForm.PerformInsertCommand event.
RebindRebind RadDataForm control and forces RadGrid.Rebind event.

See Also

In this article
EventsSee Also
Not finding the help you need?
Contact Support