Error when using window.document.title
Here is the code:
method DocumentsDialog.OpenNewWindow_Click(sender: System.Object; e: System.Windows.RoutedEventArgs);
selectedItem : FileString;
openString : String;
selectedItem := FileString( dataGrid1.SelectedItems );
openString := DownloadUriString( selectedItem );
on Ex : Exception do begin
if Ex is InvalidOperationException
then // do nothing
Apparently it is the win.document.title that is causing the problem. The window DOES open up.
It works fine in Firefox. Certain IE versions in certain environments are causing the problem.
Anybody got a clue why it is sometimes causing a problem? Could there be some setting difference, or some local policy that is creating the error even when it does open the window?