Skip to main content
A newer version of this page is available. .

AppointmentFormTemplateContainer.SaveHandler Property

Gets the function handler for the save function.

Namespace: DevExpress.Web.ASPxScheduler

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

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;

The following code snippets (auto-collected from DevExpress Examples) contain references to the SaveHandler property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also