This is a migrated thread and some comments may be shown as answers.

Gantt Task Question

9 Answers 73 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Mehmet
Top achievements
Rank 1
Mehmet asked on 20 Aug 2014, 05:04 AM
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

9 Answers, 1 is accepted

Sort by
0
Mehmet
Top achievements
Rank 1
answered on 20 Aug 2014, 05:07 AM
Btw, I am talking about the following control :

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


0
Bozhidar
Telerik team
answered on 20 Aug 2014, 07:12 AM
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.

 
0
Mehmet
Top achievements
Rank 1
answered on 21 Aug 2014, 12:35 AM
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
0
Mehmet
Top achievements
Rank 1
answered on 21 Aug 2014, 01:42 AM
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 
0
Bozhidar
Telerik team
answered on 21 Aug 2014, 07:13 AM
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.

 
0
Mehmet
Top achievements
Rank 1
answered on 25 Aug 2014, 02:18 AM
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.

0
Bozhidar
Telerik team
answered on 26 Aug 2014, 07:22 AM
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.

 
0
Mehmet
Top achievements
Rank 1
answered on 27 Aug 2014, 04:15 AM
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 
0
Bozhidar
Telerik team
answered on 27 Aug 2014, 06:10 AM
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.

 
Tags
Gantt
Asked by
Mehmet
Top achievements
Rank 1
Answers by
Mehmet
Top achievements
Rank 1
Bozhidar
Telerik team
Share this question
or