Hi,
would it work on client side context.Parent.Parent.Close();? When I trying to use that in Web Client Starter, client freezes.
So if it work, what I need to do before using this statement?
Hi,
would it work on client side context.Parent.Parent.Close();? When I trying to use that in Web Client Starter, client freezes.
So if it work, what I need to do before using this statement?
Hi Oleksandr,
the method IApplication.Close() is not intended to be used in the Webclient/Smart Client. This method should only be called inside the editor or the runtime.
The Webclient/Smart client is a Control, which is embedded inside another application, in this case Internet Explorer or Smart Client Starter. At least on Windows a Control should not Close its hosting application directly.
So if you want to Close the Webclient/Samrt client, which is running embedded in the Smart Client Starter, you should close that process instead.
Regards,
Martin
do it your way!
Discover: Service Pages - zenon Product Family - Industry Solutions - local representative