oPanel = CType(Master.FindControl("panelSearch"), Panel)
This code resides on my masterpage's back-end (theMaster.master.vb
), but I get a "Cannot refer to an instance member from within a shared class or shared member initializer without an explicit instance of the class"
the function it resides in IS shared, I just can't remember for the life of me what I need to do to make this work.
thanks!