Hi all!
I understood from reading so far, that the hidden viewstate string, saves the state of server controls across postbacks.
Now, a user control is written in the markup view, as it was a normal control from the toolbox, but the book says taht it can be considered as an aspx page since it has it's own controls and properties etc.
In the web site gradually built by the book, there is the aboutus.aspx page.
It renders 2 banners, one from the master page and one from the page itself.
I dont understand if the viewstate string of aboutus.aspx applies to the usercontrols as well, or that the usercontrols have their own viewstate strings, since they are considered as aspx pages as written above.
I'm only asking this because when aboutus.aspx page is constructed at the server after user requested it, the following code is fired:
Code:
Banner2.NavigateUrl = "http://imar.spaanjaars.com";
and on the following postbacks in this same aboutus.aspx page, it seems that the "viewstate update" by this line of code, applies only to the Banner2 user control and not to the viewstate string of the aboutus.aspx page.
10x ppl for at least getting here in reading...

