G
Guest
How can you declare an object that is global to a page even on postbacks?
I currently have something like this
MyObject m;
throughout the page on the initial load everything works fine but on
postback anything referencing m I get NullReference.
How can I declare an object to have page level scope through postback.
Thanks
I currently have something like this
MyObject m;
throughout the page on the initial load everything works fine but on
postback anything referencing m I get NullReference.
How can I declare an object to have page level scope through postback.
Thanks