You can get to the main.master via the Page.Master property. You will then need to cast Page.Master to the type of class that main.master is in order to call one of it's methods.
Dim m as main = DirectCast(Page.Master, main)
m.DoSomething()
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.