Ok. So I'm passing values between web pages, as per microsoft's framework
development guide
(http://msdn.microsoft.com/library/de...-us/cpguide/ht
ml/cpconPassingSer verControlValue sBetweenPages.a sp)
So, I have two pages, one that has some public properties and fires a
Server.Transfer ("receivepage.a spx");
The receivepage.asp x can then get some of the public properties I've set on
the first page.
What I really want to be able to do is call the receivepage.asp x from a
variety of other pages. I am confused a little, because in the receivepage
you have to reference the sending page
i.e.
public sendingpage callPage;
private void Page_Load(objec t sender, System.EventArg s e)
{
if (!IsPostBack)
{
callPage = (sendingpage) Context.Handler ;
}
How can I dynamically choose which page I want to reference? Is it
possible? Thanks for any help.
= matt =