Passing Querystring Parameters to a Silverlight Control
November 1, 2009 by Nauman · Leave a Comment
The approach to passing Querystring parameters to a Silverlight 2.0 Control that works for me is pretty simple. We check for the presence of Querystrings in the app.xaml Application_Startup using the Silverlight HTML Bridge and pass those values to the page’s constructor. APP.XAML ——————————– private void Application_Startup(object sender, StartupEventArgs e) { int fid = HtmlPage.Document.QueryString["fid"] [...]