Passing Values
In old school ASP if I wanted to keep my querystring clean, I would pass values from page to page via hidden inputs. I currently use the ViewState (aka "State Bag") to pass values back to the same page. However, this does not work when navigating to another page.
Official MS documentation suggests creating a custom property on the originating page, and then inheriting it on the receiving page (I'm pretty sure). This seems convoluted to me. Is there a simple solution?
|