Skip to main content

AppointmentFormTemplateContainer.SaveScript Property

Gets the body of the save function.

Namespace: DevExpress.Web.ASPxScheduler

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

NuGet Package: DevExpress.Web.Scheduler

Declaration

public override string SaveScript { get; }

Property Value

Type Description
String

A string, containing the JavaScript function body, like “aspxSomeFunction(someArgs)”, e.g. “aspxAppointmentSave(controlClientId)”

Remarks

A common practice is to use the SaveScript with standard HTML controls. The following code illustrates how a save action can be attached to a picture:

<img onclick='<% #((AppointmentInplaceEditorTemplateContainer)Container).SaveScript %>' 
    src="../Images/CustomImages/Close.png" alt="Close" />
See Also