Prevent Task from becoming a Summary

3 posts, 1 answers
  1. chris
    chris avatar
    7 posts
    Member since:
    Aug 2012

    Posted 07 May Link to this post

    I'm looking for a way to prevent a task from becoming a summary (by adding tasks, or moving/dropping tasks, as children) if certain conditions exist on that task.  For instance, if a task has had time reported against it, it cannot become a summary.

    Can I prevent all the CRUD operations on the Gantt based on checking for a condition on the task that would become a summary?  Can I return the data to check as part of the Gantt query? Or would this have to be outside the control?

    Thanks for any help or hints

  2. chris
    chris avatar
    7 posts
    Member since:
    Aug 2012

    Posted 09 May Link to this post

    I should clarify that I would like to do this from the client.  I know that I can stop the DB updates on the server by inspecting the data during the TaskInsert/TaskUpdate/TaskDelete functions, but I'd like to stop the postback altogether and show a message to the user.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Ivan Danchev
    Admin
    Ivan Danchev avatar
    829 posts

    Posted 12 May Link to this post

    Hello Chris,

    A task cannot be prevented from becoming summary on the client. This would have been possible if there were a cancellable client-side TaskAdd event that you can cancel based on a certain condition, but such event is currently not available.

    Regards,
    Ivan Danchev
    Telerik
Back to Top