Hi Pavel,
Thanks for the reply. I could manage to solve the problem. I have manually registered the event at the load method now the event is raising.
I am facing a problem to save and loading the Nevron diagram. here is my implementation.
Saving Procedure
string fileFullPath = "C:\Test\f6ece328-8157-412c-9c41-95aade80c1fe.ndb"
NPersistencyManager persistManager = new NPersistencyManager();
persistManager.SaveDrawingToFile(document, fileFullPath);
Loading Procedure
string filePath = "C:\Test\f6ece328-8157-412c-9c41-95aade80c1fe.ndb"
NPersistencyManager persistencyManager = new NPersistencyManager();
NDrawingDocument tempDocument = persistencyManager.LoadDrawingFromFile(filePath);
if (tempDocument != null) {
view.Document = tempDocument;
this.document = tempDocument;
}
Code is running without exception, but the object "tempDocument " is getting null value when I load the diagram (which is highlighted with green). I checked the file in the file system, the file is there. What could be the reason?
Thanks
Best Regards
Montford Anslum