Hi,
the ganttchart display deserialized data the wrong way. As you can see below task B & C are subtask of task A. The displayed data is the deserialized one. so before i serialized the data and saved to file i defined that task C is successor of task B. I should look like A1 and B1 are displayed. I hope it is no bug, that subtask aren´t properly handled. Has anyone an idea during my investigation, all my work stops at the unlove AllProperties member which contains the relevant propertievalues in a base64 encode string.... any idea? NA 10.2
Image shows the wrog behavior. task C should be after task B like the relation between A1 and B1.
Hello,
Just to let you know that recently we released the service release that include the fix of this issueLet me know if you have any further questions.
Sincerely,DimiDeveloper Support EngineerInfragistics, Inc.
Hi.
I am facing the exact same issue posted here. I have been trying everything to get the data saved properly and so far I have had no success. I even have run the sample posted by Karsten on September 30, 2010 and the same problem is still there. I am running under version 10.3, so I would suppose the fix that Dimi stated were released to fix this issue would already be here. If not, could you direct me on how to get it? And if 10.3 should already have it, could you please advice me on how to make this work?
Thanks in advance.
Hi Ivan,
the last time i used the GanttView, it seems to me that IG fixed the issue, in case you use an DataSet / DataTable as bound objects. I will have a look at and build an example, be patient.
However, i could not use BusinessObjects to bind them, because the GanttViews process of object initialization breaks BusinessRules (same ID -> crash), so i decided to use a DataSet.
regards
Hey Karsten!
Thanks for writting. One thing I did was to have a look at the downloads area and see if I could find a Service Release for v10.3, which I did. I have just downloaded it and will try it out. I will let you know as soon as I have tested it.
Very kind of you to produce a sample, I really appreciate that.
And yes, I am using Business Objects to bind the Gantt View. I have successfully done it with the Schedule control, and I hope I will manage to do the same with the Gantt. If not, I will definetely follow your steps.
Let's see the outcome of this all. :-)
Yep, the Service Release did the trick, it is working now.
I also managed to use my BOs, using a Business Binding Source. It was a bit tricky, but it is working fine and saving back to SQL Server properly.
how do you managed the behavior, that the control intis a new object in case you indent a task with same values... you probaply hide the real ID... however what is your experience?
I didn't face this issue, and I don't really know why. What I use is a Business Bindging Source (from my framework, StrataFrame).
This BBS wraps my Business Object and then I set the Gantt datasource with this BBS. After this, the only concerns were with the Gantt columns types, I had to customize the ParentId to Object and deal with the AllProperties Null value. Oh, Duration was a pain too, since SQL Server doesn't have a TimeSpan type, the closest is the Time type, which won't accept more than 24 hours time span. So I created the property as Decimal and converted it into seconds to save back, and of course from seconds to TymeSpan when I read it.
After this, it just automagically worked. I do have to clear the Gantt datasource property before I save and requery the Gantt view after saved, or it will mess up the viewer.