I have a Master Page that contains a method for ErrorHandling. In my pages that call the Master page Method I use the following code:
CVL pm = (CVL)Page.Master;
What I want to do is to pull the CVL pm = (CVL)Page.Master up and make it a global variable on the page so I don't have to create an instance of it in each module on the page. When I try and do that I get the "An object reference is required for the non-static field, method, or property" error. I realize it has to do with Page but I don't know how to resolve it to get what I want. Any help is greatly appreciated!