Home > other >  Is there an Event that is triggered when all page controls are loaded and databound?
Is there an Event that is triggered when all page controls are loaded and databound?

Time:04-27

I am using the DevExpress suite of web controls and have built a page with a fairly large entry form with textboxes, comboboxes, etc.

I am writing code to randomly generate data to populate this large form with. I call this code with a line on the Page_Load event but I realize that at the time of the call, anything that has a datasource attached to it (combobox, for example), is not databound yet.

Is there an existing event I can hook into that is called when the all of the page's controls AND datasources are bound?

CodePudding user response:

The PreRenderComplete page lifecycle event is fired after all controls are loaded and databound.

  • Related