Refresh Document into a View


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

By Cesare Stefani - 10 Years Ago
Hi,

I'm creating a dynamic view like example posted at
http://support.nevron.com/KB/a27/automatically-create-a-diagram-from-a-database.aspx

It's inserted into a tab control, into first tab user can insert data, into 2nd View is visible.
When user change tab, I'd like to refresh all shape, View and document....

How can I do?
I try with

nView.BeginInit();
nDocument.ActiveLayer.RemoveAllChildren();
nView.EndInit();

but it doesn't work correctly (when I reload data they are wrong, I must stop and restart form).

Regards