Change DeepZoom source dynamically


i have change image source of multiscaleimage dynamically.
i tried put code in page event:
if (htmlpage.document.querystring.keys.contains("id"))  {  msi.source = new deepzoomimagetilesource(new uri("output2.xml", urikind.relative));  }
but  a black sheet because seems deepzoom not read output_files folder in order build initial image.
only if zoom in higher level (>8) can see images.
any ideas solve issue?

thanks reply, figure out problem. set source file called output.xml need folder called output2_files.

however have changed source file generic handler (.ashx) , put in clientbin directory. if specified absolute path (eg. http://mydomain/output.ashx) or parent folder (eg. ../output.ashx) multiscaleimage not work reported in post; http://forums.silverlight.net/forums/p/97805/223854.aspx



Silverlight  >  Visual Studio & Silverlight Development Tools



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........