Hi, thanks for the response. I was not using Silverlight, I was using VS 2008 and I never had installed Silverlight.
Then, I installed Silverlight 2 beta 1 to work on your suggestion, but I'm getting this error (it is in spanish, but I think it's understood):
"No se puede cargar el archivo o ensamblado 'System.Windows.Browser, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' ni una de sus dependencias. No se pudieron conceder las solicitudes de permiso mínimas. (Excepción
de HRESULT: 0x80131417)"
mariop77
Participant
800 Points
130 Posts
How to pass parameters to a XAML page
Jun 06, 2008 02:33 PM|LINK
Hi, I want to pass parameters to a XAML page, but in the xaml page doesn't exists something like Response.QueryString("var") or Session("var").
Any ideas?
Thanks.
Jeev
All-Star
24172 Points
3719 Posts
Re: How to pass parameters to a XAML page
Jun 06, 2008 03:03 PM|LINK
If you are using silverlight 2 Beta 1 then you can get the querystring in silverlight by doing this
HtmlPage.Document.QueryString["key"]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you get the answer to your question, please mark it as the answer.
mariop77
Participant
800 Points
130 Posts
Re: How to pass parameters to a XAML page
Jun 10, 2008 01:28 PM|LINK
Hi, thanks for the response. I was not using Silverlight, I was using VS 2008 and I never had installed Silverlight.
Then, I installed Silverlight 2 beta 1 to work on your suggestion, but I'm getting this error (it is in spanish, but I think it's understood):
"No se puede cargar el archivo o ensamblado 'System.Windows.Browser, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' ni una de sus dependencias. No se pudieron conceder las solicitudes de permiso mínimas. (Excepción de HRESULT: 0x80131417)"