This is a small problem because the control can be placed inside the page after the "Page_Load" event.
In one of my historical projects, I deduced all the pages from my class "PageEx: System.Web.UI.Page". Which had the property "CurrentState" of the type "enum PageStates {PreInit, Init, PostInit, PreLoad, / * etc .... * /}". Than all my controls were able to recognize the state of the page loop.
source
share