MasterPages sometimes interfere with your pages in the oddest of ways. Oren Ellenbogen shows a clever strategy for handling the creation of dynamically added controls (which you normally would add in OnPreInit
.
You want to hook the base.Master.Init
event. See this great post.
refering to a dead link...
ReplyDeleteThanks, fixed the link-rot.
ReplyDelete