Stoyo wrote on Mar 2
nd, 2012 at 9:04am:
Could you attach here a sample project that shows the problem?
Hello!
As you requested, I isolated everything into a new project and the problem is still happening.
I'm attaching the sample project. You can see the problem following these steps:
1) Open "Default.aspx";
2) Press button "Create Diagram" (Diagram will be empty and waiting for user input);
3) Input data. In my example (A,B,OneWayArrow ; B,C,OneWayArrow ; C,D,DoubleCircle ; D,E,OneWayArrow);
You will notice what I said on the first post. Every time you add a connection there is a postback wich forces the diagram to refresh.
At this point on the original application there is a button to save the data into the database. Now you can simulate the user going back to edit the data (displayed graphically on the diagram).
4) Open "Default.aspx";
5) Press button "Edit diagram" (on this sample it will simulate loading data from the database. Loaded data will be the same specified at step 3).
Data will be put into session variable and sent to the diagram on the Page Load event.
Diagram nodes do not have their text. But if you add another connection (wich forces another postback) the text will be displayed. Previous added nodes will have the text displayed correctly as the function clear the diagram and generate it back together every postback.
In order to reduce the file size, the following files were deleted from the project folder:
JDiagram.jar
bin\MindFusion.Common.dll
bin\MindFusion.Common.dll.refresh
bin\MindFusion.Diagramming.dll
bin\MindFusion.Diagramming.dll.refresh
bin\MindFusion.Diagramming.WebForms.dll
bin\MindFusion.Diagramming.WebForms.dll.refresh
bin\MindFusion.Diagramming.WebForms.xml
bin\MindFusion.Diagramming.xml
bin\MindFusion.Extenders.dll
bin\MindFusion.Extenders.dll.refresh
bin\MindFusion.Graphs.dll
bin\MindFusion.Svg.dll
Also, I think it is worth to mention my dlls versions:
MindFusion.Common.dll - 1.2.4027.25720
MindFusion.Diagramming.dll - 5.6.0.17418
MindFusion.Diagramming.WebForms.dll - 4.0.0.17495
MindFusion.Extenders.dll - 4.0.0.17495
MindFusion.Graphs.dll - 2.0.0.21679
MindFusion.Svg.dll - 1.0.4037.20089
I appreciate any help on this matter. Thanks in advance.