troubleshooting Question

How to access querystring parameters from silverlight usercontrol?

Avatar of jsmithr
jsmithrFlag for United States of America asked on
ASP.NETVisual Basic.NETC#
1 Comment1 Solution895 ViewsLast Modified:
I have created a silverlight user control and embedded it in an aspx page. Both projects are in the same solution. I am trying to access a querystring parameter from the silverlight usercontrol. I found this solution online but am not able to comprehend how to impliment it.
Can someone assist?
Where do I put the code, in the silverlight user control or the aspx page?
I have tried a couple of different things, but I am still getting errors...

http://forums.silverlight.net/p/204007/477356.aspx

Public Partial Class Page1
	Inherits Page
	Public Shared InstancePage1 As Page1

	Public Sub New()
		InitializeComponent()
		InstancePage1 = Me
	End Sub

	' Executes when the user navigates to this page. 
	Protected Overrides Sub OnNavigatedTo(e As NavigationEventArgs)

	End Sub

End Class
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros