PreviousPage property is set to the page property of the nest page to
access the
viewstate value of the page in the next page. Page poster =
this.PreviousPage; Once that is done, a control can be found from the previous
page and its state
can be read. Label posterLabel =
poster.findControl("myLabel"); string lbl = posterLabel.Text;
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Once that is done, a control can be found from the previous page and its state can be read.
Label posterLabel = poster.findControl("myLabel");
string lbl = posterLabel.Text;