I have a WebBrowser
control in a WPF application. The browser control is in a grid and when the WebBrowser
control renders some webpages, in one of the pages there is popup alert box from the webpage, and when the user taps on the popup the WebBrowser
control seems to be closed. I need to capture this close event and take some action.
I already tried subscribing to the unload event but it does not seem to fire. Is there any way to get this event captured?