Clicking task causes auto-postback to re-load grid

2 posts, 0 answers
  1. Julian
    Julian avatar
    62 posts
    Member since:
    Apr 2015

    Posted 10 Dec 2015 Link to this post

    We have a gantt control on a web page that is using a custom provider. Our custom provider handles a project with various project tasks.

    When I click on a task in the gantt provider I capture the id of the task via javascript and populate a form (div tag) and display it beneath my gantt control. 

     The problem I have is that a project could contain hundreds of tasks. If the user wants to select a task and then perhaps edit it and do this over for several other tasks it becomes time consuming. This is because clicking in the task list inside the gantt control causes all the code utilized to build the data for the control to be executed. (postback.. database call.. custom gantt provider dataType conversions.. etc..) Is there any way to prevent a complete regeneration of the gantt control when all I want to do is capture the id of the task selected and populate a <div> with the information about the task?






  2. Bozhidar
    Bozhidar avatar
    1189 posts

    Posted 11 Dec 2015 Link to this post


    By default clicking on a task doesn't cause a postback and rebind of the gantt. Could you share any custom code that you've built around the gantt, that might be causing this?

Back to Top