Use the InitParameters to pass information from ASPX pages to Silverlight objects

By [)ia6l0 iii

The InitParameters is a key-value collection which would hold values in the ""parameter1=value1, parameter2=value2…"" format

<div id=""silverlightControlHost"" style='Height:500px; Width:500px'>
<object data=""data:application/x-silverlight-2,"" type=""application/x-  silverlight-2"" width=""100%"" height=""100%"">
<param name=""initParams""
value=""Title=""faq"",Description=""good one"" />

</object>
</div>


Use the Application_Startup event handler to capture the init params.  

Use the InitParameters to pass information from ASPX pages to Silverlight objects  (1039 Views)