Hi,
everybody
I am having a problem while handling IE8 download_complete window.The code I am using is below--
private bool DownloadExportedFile(string diskpath, FrameworkElement downloadButton)
{
//download dialog handler
DownloadDialogsHandler downloadHandler = new DownloadDialogsHandler(Manager.Current.ActiveBrowser, DialogButton.SAVE, diskpath, Manager.Current.Desktop);
Manager.Current.DialogMonitor.Start();
//trigger download event
downloadButton.User.Click();
//invoke handler
downloadHandler.WaitUntilHandled(80000);
}
The code works fine for a particular file(.xlsx format,size 10.7 KB ) but when i use the same code for a different file(.zip format,size 342 bytes) it works as excepted for the initial download dialog and then for resulting save as dialog but it does not handle the resulting download complete dialog as it does not click on its close button. As a result this window remains open.I am on windows 7 with ie 8.