Custom creation of task items

3 posts, 0 answers
  1. Felix
    Felix avatar
    42 posts
    Member since:
    Sep 2014

    Posted 05 Sep 2014 Link to this post

    Hello,

    I have two questions regarding the creation of task items:

    1. Is it possible to restrict the creation of tasks to have e.g. only one root task or the depth of the task tree should only be 2. For me it was not possible to remove such tasks out of the tree after clicking "Add Task". Or is it possible to disable or enable the "Add Task"-Button or e.g. the "Add child"-Button?

    2. Can I set the Id of the new created tasks by myself? If i try to set the task Id inside the "OnTaskInsert"-event, it doesn't affect the task Id which is shown inside the gantt control.

    Thanks.

    Regards,
    Felix
  2. Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 08 Sep 2014 Link to this post

    Hello Felix,

    If you upgrade to the latest internal build, you will be able to use the TaskInsert event to both cancel the insert if the task is being added to a leaf task, and set the TaskID to your specified value.

    Regards,
    Bozhidar
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Felix
    Felix avatar
    42 posts
    Member since:
    Sep 2014

    Posted 08 Sep 2014 in reply to Bozhidar Link to this post

    Hello Bozhidar,

    thanks for your answer. I will try the new features and hope they work ;-)

    Regards,
    Felix
Back to Top