Gantt Task Question

10 posts, 0 answers
  1. Mehmet
    Mehmet avatar
    100 posts
    Member since:
    Jun 2014

    Posted 20 Aug 2014 Link to this post

    Hi there,

    I have updated my telerik version and I have started using the latest version of Gantt Chart. I want to make something a bit different and I wonder whether possible or not.
    If we look at the xml file structure of the one is provided in the folder of telerik that has got such as :
    <Task>
          <ID>1</ID>
          <ParentID />
          <Start>2014-05-05T08:00:00Z</Start>
          <End>2014-05-11T20:00:00Z</End>
          <Title>Defining selection criteria</Title>
          <PercentComplete>0</PercentComplete>
          <Summary>false</Summary>
          <Expanded>true</Expanded>
          <OrderID>0</OrderID>
    </Task>

    It is basically one item on the left hand side of listing on the gantt chart. 
    So I want to list names on the left list ( where we can see ID, Title, Start, End) and have multiple items on the right hand side related to the dates and times which is referring one item on the left hand side. 
    Another example: I want to see my task during this week based on the date or during today based on the time and I've got my name on the left list without expanding the list on the left. Is that possible with this control ? thank you
  2. Mehmet
    Mehmet avatar
    100 posts
    Member since:
    Jun 2014

    Posted 20 Aug 2014 Link to this post

    Btw, I am talking about the following control :

    http://demos.telerik.com/aspnet-ajax/gantt/examples/overview/defaultcs.aspx


  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 20 Aug 2014 Link to this post

    Hello Mehmet,

    If I understand your first requirement, you want to have a list of names on the left side, and multiple items on the right for each name. This scenario is more suitable for our Scheduler control, where you can define resources, and each resource can have many tasks associated by it. You can see it in action in the following demo (you can choose TimelineView and Grouping Direction Vertical to achieve the desired layout):
    http://demos.telerik.com/aspnet-ajax/scheduler/examples/resourcegrouping/defaultcs.aspx

    I'm afraid I couldn't quite understand the second requirement. Is there a gantt chart example of it, that we can take a look at?

    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.

     
  5. Mehmet
    Mehmet avatar
    100 posts
    Member since:
    Jun 2014

    Posted 20 Aug 2014 in reply to Bozhidar Link to this post

    Thanks for the helpful reply.

    My second question is to improve my first example, so eventually the same question.

    I will investigate the control. 
    thank you again
  6. Mehmet
    Mehmet avatar
    100 posts
    Member since:
    Jun 2014

    Posted 20 Aug 2014 Link to this post

    In addition, I do require to create ResourceStyles dynamically as I retrieve the data from the database at the code behind.
    Is it the right link to get the info about "dynamic resource style" ?
    http://www.telerik.com/forums/dynamic-resources-in-codebehind
    thank you 
  7. Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 21 Aug 2014 Link to this post

    Hello,

    You can also check out our online documentation:
    http://www.telerik.com/help/aspnet-ajax/scheduler-using-datasource-property.html

    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.

     
  8. Mehmet
    Mehmet avatar
    100 posts
    Member since:
    Jun 2014

    Posted 24 Aug 2014 in reply to Bozhidar Link to this post

    Is there any example where I can see the following example that is done on the code-behind rather than having data source and already defined resources. 
    http://demos.telerik.com/aspnet-ajax/scheduler/examples/resourcegrouping/defaultcs.aspx
    appreciate that.

  9. Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 26 Aug 2014 Link to this post

    Hello,

    We don't have the same example with the same data in code behind, but it's not different from the help article I pointed you to earlier. You just have to set the Grouping properties in the Scheduler markup and it should work.

    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.

     
  10. Mehmet
    Mehmet avatar
    100 posts
    Member since:
    Jun 2014

    Posted 26 Aug 2014 in reply to Bozhidar Link to this post

    I actually made it working. however, I've got a performance issue despite of working with the session data.
    Clicking on the appointment on the scheduler that takes ages to show up the custom advanced form. any chance to create a ticket and share my code to be reviewed by your company ?
    thank you 
  11. Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 27 Aug 2014 Link to this post

    Hello,

    If there is an issue with RadScheduler that's making it slower than what's expected, you could open a support ticket and attach a runnable sample page that we can investigate, in order to find a possible issue. Please keep in mind however that with server binding, clicking on an appointment to show the Advanced form triggers a full page postback, and the performance there is dependent not only on the Scheduler, but all other controls on the page, the ViewState size, page size etc. We also don't provide general code reviews in our support services, so if you need any guidance I would recommend checking out our Partners program - the companies listed there specialize in consultancy services related to our products and will guide you in your project from the start till the successful release.

    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.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017