NDiagram NPageItem UI Render Delay and Notification


https://www.nevron.com/Forum/Topic14512.aspx
Print Topic | Close Window

By Jan Cruz - 3 Months Ago
Hi Nevron Support,

Is there a delay before a NPageItem property setting is reflected in the UI (NPage)?
If there is supposed to be a delay, is there an event or property I could check to make sure that the setting I set was already rendered in the Page/UI?

For context, this is the current problem I would like to solve.

I do not know why an exception occurs here even though I have checked conditions before removing the CustomToolTip shape.
My assumption is that the object is already accessed by another thread? The top-level call before this function is wrapped under a Task by the way.

Kindy advise if you know the possible cause of my current issue.

Thank you.


By Nevron Support - 3 Months Ago
Hi Jan,

The problem may be related to the fact that you are accessing the DOM from another thread. We have made a topic in the NOV documentation about multi threading, that has not yet made it to the web documentation, so I will attach a docx version of it to this message.

Hope this helps...