I've been reading the other questions dealing with master pages, but I didn't see any that quite had the answer I'm looking for, so...
I have a master page. I have a control(Control A) on the master page. I have a certain content page that I want to disable (Control A) and enable (Control B).
Instead of doing this on the content page, I would like to do this in a static utility class that I am using in the site. The reason for this is that we have 4 different sections on the website that use 4 different master pages. I'm trying to create a static method that receives the name of the master page and the control and then swaps the controls.
I can't quite figure out how to reference the master page from a separate class.
Thanks for any help you can offer.