Link to home
Start Free TrialLog in
Avatar of jsmithr
jsmithrFlag for United States of America

asked on

How to access querystring parameters from silverlight usercontrol?

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

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of masterpass
masterpass
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial