Skip to main content

AppointmentFormTemplateContainer.DeleteScript Property

Gets the body of the delete function.

Namespace: DevExpress.Web.ASPxScheduler

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

NuGet Package: DevExpress.Web.Scheduler

Declaration

public virtual string DeleteScript { get; }

Property Value

Type Description
String

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

Remarks

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

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