I
in
I pass a variable from one aspx page to another using Context.Item.Add
This works fine when the page first loads.
I set the value of a static global var to the value of Context.Item in
the page_load event, and use that.
However, for a button_click event, i want to use that variable, and it
seems that after a button_click is fired, all the global vars and are
set to their defaults...so I can't use that var, I have to wait until
the page_load even occurs ( which is after the button click ) !!
I converted to useing a Session var -- but, I ask: is there anyway to
accomplish my first method ?!
This works fine when the page first loads.
I set the value of a static global var to the value of Context.Item in
the page_load event, and use that.
However, for a button_click event, i want to use that variable, and it
seems that after a button_click is fired, all the global vars and are
set to their defaults...so I can't use that var, I have to wait until
the page_load even occurs ( which is after the button click ) !!
I converted to useing a Session var -- but, I ask: is there anyway to
accomplish my first method ?!