Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1065
StartDateTimeMember Overriden by StartDateMember
posted

I am migrating a project from another component to winGantt but have a problem with all tasks under my project starting on the Project Start Date rather than the task start date. The StartDateTimeMember is being ignore. How do I  get the ultracalenderinfo to correct this?

I have attached a sample project based on infragistics VB sample data (which has the same problem) I am using 10.1 at the moment as I am yet to install 10.2(I don't like upgrade mid project).

This is  a subset of my code;

             With uci.DataBindingsForProjects
                .SetDataBinding(m_dbProject.ds, "tblProject")
                .IdMember = "myGUID"
                .KeyMember = "ProjectKey"
                .NameMember = "ProjectName"
                .StartDateMember = "DateStart"
            End With

            With uci.DataBindingsForTasks
                .SetDataBinding(m_dbTask.ds, "tblList")
                .NameMember = "TaskName"
                .DurationMember = "TaskDuration"
                .StartDateTimeMember = "DateStart"
                .IdMember = "myGUID"
                .ProjectKeyMember = "ProjectKey"
                .ParentTaskIdMember = "ParentTaskID"
                .PercentCompleteMember = "TaskPercentComplete"
                .AllPropertiesMember = "AllProperties"
            End With

WindowsApplication1.zip