I have my gantt bound to my project and task from my datasource. How do I now bound my list of resources to the control.
I have look at the databindingforowners in the calenderinfo and cannot see how the resources can be linked to the tasks in the databindingforTasks.
I am almost there but cannot seem to quite tie it all together. I am still on 10.1.
I can see KeyMember,NameMember,EmailAddressMember and AllPropertiesMember in the databindingforowners.
My application is pretty similar to MS Project in functionality to explain what I am trying to acheive.ataBindingsForOwners
Hello,
As far I as understand you want to bound GanttView to a Datasource . Here is a link to our online help where is shown how you could do this:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2010.2/CLR2.0/html/WinGanttView_DataBinding_Support_for_WinGanttView.html
and a link for using WinGanttView :
http://help.infragistics.com/Help/NetAdvantage/WinForms/2010.2/CLR2.0/html/WinGanttView_Using_WinGanttView.html
Please let me know if you have any further questions.
I have no problem binding my Project and task to my datasource, this I have done. What I am lacking is information on binding my allocated resource datasource to the control.
My application assigns multiple resources to each task and I want to show these resources in the task information dialog and also on the Gantt.
I need to show a dropdown list of resources. There are over 3 thousand in the system and I have no requirement for the users to pick from the list. This is done in other parts of my application.
I have attached a sample image with a part of the application. Here you can see the project info at the top left of the image. Below that is a list of Tasks under the project. In the Task list, there is a task selected with the related resources on the right hand list. The resources may appear multiple times in that list as they may have multiple tour of duty.
Is it possible to bind the allocated resources to the tasks?
I am migrating my Gantt from another component which didn't do it either. I think perhaps I have to write my own Task Dialog as I need more flexibility Anyways.
Hi,
I just wanted to know if you were able to solve your issue based on our suggestions or you still need help. Just let me know.
Thank you.
It is more of a custom requirement. What we will have to do is create a custom Task Dialog to handle our scenario because the application can apply a resource to a task multiple times and other part of the application will need to read that data.
Hello ,
What you can do to read a task key from the UltraGanttView control TaskCollection and use this key to refer your resources.
Let me know if you have any further questions.
Thank you for your feedback.
I am glad that you are be able to solve your issue.
I solved the problem by creating a custom dialog and I used this to control my dependencies as well as my resource and cost allocation.
Thanks