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?Code:Dim graphControl As Control graphControl = LoadControl("~/User_Controls/BarGraph.ascx?id=CategoryCount") plcGraph.Controls.Add(graphControl)


LinkBack URL
About LinkBacks




Reply With Quote

Bookmarks