changing the source dynamically

Nov 13, 2009 at 10:45 AM


I have set the jellyfish object like that :

<jd:JFDeepZoom x:Name="jfd"  Margin="0,0,54,0" src="/output.xml" />

It works.

Now I want to change the source dynamically when the user clicks on a button :

public void myButton_click()


   jfd.Src = "AnotherSource/output.xml"


But that does not work. It does not even change the Src value of the jellyfish object. Can you help me ?