Hi avalor,
Sorry, somehow I missed that.
I'm not understanding enough of your logic to be able to give you any specific solutions, and you might be better off sending a sample application to support so we understand each other correctly. I will include our standard sample application request text below.
Before I do that, then some general tips. When you open the form, you add the form (or usercontrol, I'm not understanding you fully here) to the parent's form controls collection. If you would create an event on your child form (or usercontrol), that you would fire when the user requests the child form should close, you could have your parent form listening to that event and when fired, you remove the child form from the controls collection. Would that help ?
And now our standard sample app request text:
Best way to describe those problems is by creating a most minimal application that demonstrates the problem(s) and then send your application to support [at] visualwebgui [dot] com with a link to this forum thread, along with some description about how to reproduce the problem.
Please also clean the solution before compressing it and reply to this post after sending, so we will know to check for your support request.
If connection to database is needed, please make sure you will be using the MSSQL Northwind sample database for your connection(s)
Remember to include information about what VWG version you are using, as well as you Visual Studio version+type and operating system version.
Palli