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

AppointmentFormTemplateContainer.DeleteScript Property

Gets the body of the delete function.

Namespace: DevExpress.Web.ASPxScheduler

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

Declaration

public virtual string DeleteScript { get; }
Public Overridable ReadOnly Property DeleteScript As String

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