Provide startup parameters to Silverlight with InitParams
Posted by: Laurent Duveau,
on 15 Aug 2009 |
View original | Bookmarked: 0 time(s)
I have been giving Silverlight trainings for a while now, and I found this to be a little known feature: the ability to provide Silverlight startup parameters with InitParams. Pass startup parameters to your Silverlight app You pass the parameters as a key/value pair collection in the initParams param of the object tag. (For a comprehensive list of param you can set, see my previous post). <object data="data:application/x-silverlight," type="application/x-silverlight-2"...