Learning new things is almost always fun, and one must try to check one's assumptions at the door. However, what if your brain assumes something and doesn't come right out and say so? That's interesting.
Keeping in mind that I am new to ASP.NET 2.0...
I'm experimenting, and here I have a neat little master page with a hidden field on it that I want all the other pages to use, so one page puts data in the field and then transfers control to the next page. The next page then checks that hidden field and doesn't find anything. This had me wondering what the darned problem was, until suddenly it occurred to me how on earth I could expect anything to be there? The master page is not stateful, and it is generated from scratch each time. Doh! Somehow it had gotten into my head that the master page was some sort of repository -- despite the fact that I know there is no state preservation or information passing beyond query strings, forms, and session/application variables. Amazing what assumptions one can make with no justification whatsoever and contrary information and experience in rich abundance from past encounters. Makes me feel like I just called up customer support with the complaint that my computer's cup holder had broken.
Doh!
Remember Me