1.You should consider utilization of the page output attribute with OnEnd in the application.
2. You should consider utilization of a DataBinding class with PreRender in the application.
3.You should consider utilization of a DataReader with the Activated event.
4.You should consider utilization of the Control event.