I'm writing an IronPython Silverlight application and trying to use
WebClient to download some xaml so I can use XamlReader.Load to load it.
I have the following code in a .py file that is referenced by my main
HTML page:
<br><br>wc = WebClient()
<br>wc.DownloadStringCompleted += self.xamlDownloaded
<br>wc.DownloadStringAsync(Uri('star.xaml',UriKind.Relative))
<br><br>however, in the completed handler I get a SystemError - not
found. I know that the xaml file is present, so I'm wondering if it is
looking for it relative to dlr.xap. I didn't get much more success with
an absolute Uri - just a SystemError with no message at all, which I
guess could be due to Silverlight cross-domain request permissions.
<br><br>Any suggestions for how I can get this working?
<br><br>And another quick question while I'm at it. Are there any known issues with IronPython and data-binding in
Silverlight? I converted an IronPython WPF app to Silverlight that was
using MVVM, but in Silverlight none of the bindings worked at all.<br><br>thanks
<br>Mark<br><br><br>