Skip to main content

AppointmentFormTemplateContainer.DeleteHandler Property

Gets the function handler for the delete function.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v24.2.dll

Declaration

public virtual string DeleteHandler { get; }

Property Value

Type Description
String

A string, containing the JavaScript function handler.

Remarks

This property value contains a string like “function() {{ aspxSomeFunction(someArgs); }}”

A common practice is to use the DeleteHandler with ASPx controls. The following code illustrates how an ASPxButton can perform a Delete action when clicked.

<dxe:ASPxButton runat="server" ID="btnDelete" Text="Delete" 
    OnClientClick='<%# ((MyAppointmentFormTemplateContainer)Container).DeleteHandler %>' />
See Also