Skip to main content

AppointmentFormTemplateContainer.SaveHandler Property

Gets the function handler for the save function.

Namespace: DevExpress.Web.ASPxScheduler

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

NuGet Package: DevExpress.Web.Scheduler

Declaration

public override string SaveHandler { 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 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