A newer version of this page is available. Switch to the current version.

AppointmentFormTemplateContainer.DeleteHandler Property

Gets the function handler for the delete function.

Namespace: DevExpress.Web.ASPxScheduler

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

Declaration

public virtual string DeleteHandler { get; }
Public Overridable ReadOnly Property DeleteHandler As String

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