event code run in global or masterpage class?

  • Thread starter Thread starter Daves
  • Start date Start date
D

Daves

if I have a control in my aspx Page, can I set it's events to run code in
the global (or even masterpage) class? Something like
<asp:control OnInit="Global.EventCode"/>
 
Typically the event is handled by the container. So if the container it the
page, typically the page is going to handle the events. If this is a control
that's going to be in every page, why not put it in the master and have the
master handle the event?

-Brock
DevelopMentor
http://staff.develop.com/ballen
 
Back
Top