Chcę z poziomu c# dodać obrazek z zewnętrznego URL:
Image img = new Image();
img.SetValue(Grid.RowProperty, row);
img.SetValue(Grid.ColumnProperty, 1);
img.Source = new System.Windows.Media.Imaging.BitmapImage(new Uri("http://localhost:17275/test.png", UriKind.Absolute));
http://localhost:17275/test.png <- jest dostępne z poziomu przeglądarki.
Strona w silverlight wali:
A first chance exception of type 'System.Web.HttpException' occurred in System.Web.dll
Additional information: File does not exist.
wtf ?
