Hello,
If i have a VB class and wished to access a control listed in my masterpage (i only have one masterpage in my whole site) to determine visibility of things i.e. menucontrol items, how would i do it.
Everything i have found is all about accessing the masterpage controls from the content page but this is not what i want. I have a class file which checks the database against the user logged on (intranet site using windows authentication) and i want to determine what they see based on their userid, within the masterpage.
I have tried importing system.web.UI.mastpage but no methods appear that permit me to reference the masterpage.
Any ideas on how i could do this?
Thanks in advance.