STEVESKI07
Member
- Joined
- Sep 12, 2007
- Messages
- 17
- Programming Experience
- 1-3
I'm trying to pass a querystring to a dynamically loaded user control and I'm getting an error saying that it is not a valid virtual path when I put on the querystring parameters. If I take out the querystring parameters it is working fine. Does anybody know of any way to do this?
Here is my code:
I know I could just use session variables if this is not possible, but is there any better way of doing this?
Here is my code:
VB.NET:
Dim graphControl As Control
graphControl = LoadControl("~/User_Controls/BarGraph.ascx?id=CategoryCount")
plcGraph.Controls.Add(graphControl)
I know I could just use session variables if this is not possible, but is there any better way of doing this?