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

AppointmentFormTemplateContainer.SaveHandler Property

Gets the function handler for the save function.

Namespace: DevExpress.Web.ASPxScheduler

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


public override string SaveHandler { get; }
Public Overrides ReadOnly Property SaveHandler As String

Property Value

Type Description

A string, containing the JavaScript function handler.


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

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

<dxe:ASPxButton runat="server" ID="btnOk" Text="OK" 
    OnClientClick='<%# ((MyAppointmentFormTemplateContainer)Container).SaveHandler %&gt;' />

In the code-behind file:

btnOk.ClientSideEvents.Click = container.SaveHandler;
See Also