AppointmentFormTemplateContainer.SaveHandler Property
Gets the function handler for the save function.
Namespace: DevExpress.Web.ASPxScheduler
Assembly: DevExpress.Web.ASPxScheduler.v19.1.dll
Declaration
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 %>' />
In the code-behind file:
btnOk.ClientSideEvents.Click = container.SaveHandler;
Related GitHub Examples
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.