We are using GoDiagram Web 3.0.2. I’ve created a GoView object inside a web page which is dynamically populated with GoTextNodes and GoLabeledLinks.
Currently I’m handling the OnLinkCreated and OnObjectDoubleClicked events from the GoView.
They both fire ok, but there’s a strange behaviour after ObjectDoubleClicked is fired:
In the method-handling event in my page (the one that handles ObjectDoubleClicked), I can perform actions on the GoView (e.g. change the colour of the clicked node). This works ok.
However I also want to make changes to the rest of the page (e.g. make a panel visible, change some text). I have added the code which does this, and tracing it via Breakpoints in Visual Studio shows that the code executes and the values of the variables are changed correctly, but the problem is that when the postback finishes, the changes don’t show on the web page!
This code works when executed with a postback not associated with the OnDoubleClicked event, so it’s not my code.
It seems that anything that happens after this event that isn’t directly related to changing the GoView just doesn’t happen on the page, even if the code appears to run.
I don’t have this problem when handling OnLinkCreated. I haven’t tried any other GoView events.
Anybody seen this, or have any suggestions?