.NET (web) How to execute some code after all events are handled?

I have this .NET web app that draws a table in Page_Load.

Then after that it handles the events, which should change the table drawn in Page_Load. This is very inefficient.

Is there a way to execute the code (which draws the table) after it finishes handling all events? (instead of doing it in Page_Load)

Thank you in advance.


You need to handle an event that occurs after the control events, but before the page is rendered, such as LoadComplete or PreRender.

Check out the ASP.NET Page Life Cycle Overview for more info.

Need Your Help

Pass Parameters Generically

c# sql parameters parameter-passing

I am wanting to create a generic database class so all our developers can follow the exact same syntax by just importing a database dll. That being said, I am somewhat stuck on how to round off this

learning linux drivers

linux driver device-driver linux-device-driver

I am learning now days programming drivers.