Persisting values on a webform

J

John

Hi

I am reading a context value (passed by calling page) in a web form. In page
load I read it using
x.text = CType(Context.Items("Calling_Page"), String). x being a textbox on
the webform. Neither x nor Context.Items("Calling_Page") has any value in
the click event of a button. How can I persist the value between the page
load and the button click events on the same web form? I have tried using a
public variable but that is cleared before the button click event for some
reason too.

Thanks

Regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,154
Members
46,702
Latest member
LukasConde

Latest Threads

Top