views:

36

answers:

1

Hi, when i click a image from my html file i want to change silverlight params value (ex. m=sample.wmv) with jquery without refresh page. can i do that?

Code is below which i used for silverlight.

<param name="initparams" value='m=sample.wmv, autostart=false, autohide=false, thumbnail=sample.jpg' />

thank you very much already now for your help.

A: 

No. The InitParams property on the Silverlight plug-in object must be set prior to the page creating an instance of the object. Write-once during instantiation and read-only at run time.

MSDN Documentation on InitParams

After instantiation, you can make use of Silverlight's HTML bridge instead.

Brandon Copeland
Check out the documentation at http://msdn.microsoft.com/en-us/library/cc645076%28VS.95%29.aspx
Brandon Copeland
Or a sample at http://msdn.microsoft.com/en-us/library/cc221414%28VS.95%29.aspx
Brandon Copeland