Edit this page


The RadGantt TaskDelete is fired when a task's collection is about to be deleted from the database through the provider.

TaskDelete event handler receives two parameters:

  • sender is the RadGantt control instance.

  • e is an object of type GanttEventArgs. It gives you access to the deleted RadGantt tasks collection.


<telerik:RadGantt RenderMode="Lightweight" ID="RadGantt1" runat="server" OnTaskDelete="RadGantt1_TaskDelete"></telerik:RadGantt>
protected void RadGantt1_TaskDelete(object sender, Telerik.Web.UI.Gantt.GanttEventArgs e)
    foreach (var item in e.Tasks)
Protected Sub RadGantt1_TaskDelete(sender As Object, e As Gantt.GanttEventArgs)
    For Each item As var In e.Tasks
End Sub

See Also

Is this article helpful? No Yes
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article