Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
May 14, 2012 01:15 PM|LINK
Hi Mamba, again.
Thanks to your example I Solved it. Once I stopped worrying, lol, I placed this example code on every stage of the page life cycle:
TextBox2.Text = Session("name")
Label2.text = Session("name")
The save session obviously returned a value and the prerender returned a value but the other stages returned only the + value I added, the session value was not returned although we know that it exists - so I placed my script call in the prerender stage
of the page cycle and achieved what I wanted.
I still have to go away and read to understand why after a button click the prerender accepts a postback argument, but that the init, initcomplete, preload and the load stages of the page cycle do not? I( did read somewhere that a button doesnt actually
cause a postback, rather that it causes a submit action which in the life cycle of a page is interpretated somewhat differently?). Still I am learning. Thanks for your help. Hope this might help someone else sometime.