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

AppointmentFormTemplateContainer.SaveScript Property

Gets the body of the save function.

Namespace: DevExpress.Web.ASPxScheduler

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

Declaration

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

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