Velocity Reviews

Velocity Reviews (
-   ASP .Net (
-   -   Persisting values on a webform (

John 10-10-2004 03:31 AM

Persisting values on a webform

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.



Xavier Pacheco 10-10-2004 12:34 PM

Re: Persisting values on a webform
This was a link just posted recently on doing this.

Xavier Pacheco
Xapware Technologies Inc

manage your projects:
the blog:
the book:

All times are GMT. The time now is 06:11 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.