Edit this page

TaskUpdate

The RadGantt TaskUpdate event is fired when a task's collection is about to be updated through the provider.

TaskUpdate event handler receives two parameters:

  • sender is the RadGantt control instance.

  • e is an object of type GanttEventArgs. It provides access to the updated RadGantt tasks collection.

Example

<telerik:RadGantt RenderMode="Lightweight" ID="RadGantt1" runat="server" OnTaskUpdate="RadGantt1_TaskUpdate"></telerik:RadGantt>
protected void RadGantt1_TaskUpdate(object sender, Telerik.Web.UI.Gantt.GanttEventArgs e)
{
    foreach (var item in e.Tasks)
    {
        item.Title = "Modified Title";
    }
}
Protected Sub RadGantt1_TaskUpdated(sender As Object, e As Telerik.Web.UI.Gantt.GanttEventArgs)
    For Each item As var In e.Tasks
        item.Title = "Modified Title"
    Next
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

close
Dummy