Synchronously downloading issue.

Hi, Should the following code (the send method) be executed synchronously because of the false on the open method? This seem to be asynchronouse reguardless of weather or not you put a true or false on the open() method.

// Find the WPFe control
wpfeControl = document.getElementById("WPFeImageBrowser" );

var downloader = wpfeControl.createObject("downloader" );

downloader.open("GET","ImageCanvas.xaml",false );
downloader.send();

[1005 byte] By [BlaneNelson] at [2007-12-31]
# 1

The MSFT guys must be busy working on the March/April CTP. :)

I've played around with this trying to get it to work but so far I haven't been able to. So I think this must be a bug and the async parameter is being ignored. Hopefully one of the MSFT guys will confirm this.

Just out of curiousity, why do you want the call to be synchronous?

BryantLikes at 2007-9-6 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 2

No real reason, I was just playing aound with a sample app and it was just easier to code the download of an XAML fragment (child canvas) synchronous and added a spining image on a mouse click.

BlaneNelson at 2007-9-6 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...
# 3

Good catch Blane. This is a bug in the Feb CTP.

- mike

MikeHarsh at 2007-9-6 > top of Msdn Tech,Silverlight (formerly WPF/E),Silverlight (formerly WPF/E) Developer Issues...