i’m trying to hide/show some control on a page from Page_LoadComplete. If a put the code in any page, it works OK, but when I put the code on the master page, it doesn’t work. I’ve used debug and that code is not executed in the master page. I’ve checked the AutoEventWireup=true on the @Master but i’m guessing if that event only applies for Pages and not for Masters.
I need it to be in the Page_LoadComplete because the visibility depends on a button click, so I can’t use Page_Load event.
Thanks.
The MasterPage does not have a LoadComplete event. Only the Page. This is a comprehensive list of all events.