OK, I have a site in which all pages inherit my template class instead System.Web.UI.Page for consistency. I want to add Onload and OnEnd events to all these pages by simply adding the code in Template.cs. I thought it would myBase.Onload or something similar, but I can't get it to work. Anyone have any ideas? Thanks