Hi guys,

I'm not just new here, but very new to the world of ASP.NET - So please be gentle with me :)

I'm trying to pass an object between 2 pages and run into a bit of a problem. I've followed the method as described here and it works well - it'll allow me to do what I want. http://authors.aspalliance.com/das/passingdata.aspx

Problem is that I want the receiving page to be called from many different pages in the future so hardcoding the Reference Directive is not going to be good for me. Is there any way I can dynamically assign the Reference Directive with the URL of the previous page?

Hopefully I've given enough info (and made some kind of sense!) - if not just ask away.

Thanks
Pat

You can load web user controls dynamically, so you dont need dynamic referencing

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.