Meaning -- use WebForm1 to populate a Session variable with the
value of the label's text. When WebForm2 is loaded read the
Session variable and assign the value to the label on WebForm2.
--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET csgallagher@ REMOVETHISTEXT metromilwaukee.com
URL
http://www.metromilwaukee.com/clintongallagher/
"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:u3**************@TK2MSFTNGP10.phx.gbl...
Web server processes one page at the time. When you navigate to WebForm2,
WebForm1's gone. The only thing it can do is to pass new text via one of the
standard ways of passing parameters between pages.
Eliyahu
"Viktor Popov" <vi****@yahoo.com> wrote in message
news:uB**************@tk2msftngp13.phx.gbl... Hi,
I'm working on a project that I develop with ASP.NET/MS SQL/C#. When I
check username and password in WebForm1 and they are wrong, I forward the users
to another WebForm2 which have a Label. I'd like to change the Text property
of this Label not in OnPageLoad function of the WebForm2. I'd like to do
that in WebForm1. How could be accoplish that?
Thank you in advance!
Viktor
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.721 / Virus Database: 477 - Release Date: 16.7.2004 a.