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,
The scenario that you describe seems to me that is very custom and it is hard to me to completely understand your issue. Could you be so kind to post a simple sample reproducing your issue?
I am waiting for your response.
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.
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 can't see how this can link to resources already assigned to tasks in the database.
I can see the Project/Task key via the the ParentKey Property but how would I link the assigned users to the Tasks?
The resource assignments are already in the database along with other information like;
tour of duty, duration of each tour, billing code etc. I cannot store this information in AllProperties as it is used globally in the database.
I want the assigned Resources to link to the Task just like the Tasks links to the Project.
The universe of available resources is defined by the UltraCalendarInfo.Owners collection, that is, a 'resource' in WinGanttView is also known as a WinSchedule 'Owner'. You can bind to the Owners collection using the UltraCalendarInfo.DataBindingsForOwners property.