I'm having the exact same issue. Below are my attempts to get this to work.
The above will open the File Download dialog and it will just hang until it times out.
I've also tried the code below
The code above won't open the File Download dialog. The overall result is a success, but I don't believe the dialog is being called at all.
I've also trying the built in dialog handlers in the development edition of WebAii, but they react the same way the first piece of code does.
//Enter path to file location
string
fullPath =
"C:\\Temp"
;
//This code will only open the download dialog and click Cancel
DownloadDialogsHandler handler =
new
DownloadDialogsHandler(Manager.ActiveBrowser, DialogButton.CANCEL, fullPath, Manager.Desktop);
Pages.UMDealerBusiness_40.UserControl130DBIEXCELREPORTDOWNLOADBtnDownloadReportLink.MouseClick();
I've also tried the code below
string
fullPath =
"C:\\Temp"
;
Pages.UMDealerBusiness_40.UserControl130DBIEXCELREPORTDOWNLOADBtnDownloadReportLink.Download(
false
, DownloadOption.Cancel, fullPath, 10000);
The code above won't open the File Download dialog. The overall result is a success, but I don't believe the dialog is being called at all.
I've also trying the built in dialog handlers in the development edition of WebAii, but they react the same way the first piece of code does.