Hello,
I'm having trouble with File Upload dialog. Sometimes file upload window just freezes for as long as I choose a file or close the window manually. As a browser I use IE11, IDE - Visual Studio 2013. The code below is used to provide functionality:
I'm having trouble with File Upload dialog. Sometimes file upload window just freezes for as long as I choose a file or close the window manually. As a browser I use IE11, IDE - Visual Studio 2013. The code below is used to provide functionality:
private readonly DialogMonitor _dialogMonitor;public void HandleUploadDialog(string path, HtmlInputFile controll) { var dialog = new FileUploadDialog(Manager.Current.ActiveBrowser, path, DialogButton.OPEN); _dialogMonitor.Start(); _dialogMonitor.AddDialog(dialog); controll.Click(); dialog.WaitUntilHandled(10000); }
I attached a screenshot as an example of frozen window
Could you suggest me a solution? What could be a reason of such behavior? Is there any other way to handle this dialog?