again page events

Y

yoramo

I have a page that stores its state in a DB and creates the control on the
page dynamicly (dependent on the data from the DB).



I'm not sure where is the place to save the data to the DB and where is the
right event to create the controls. I have tried the Page_Load (Load) and
the Page_Unload (Unload) but it effects only at the second time.



so, what is the right event to save the date to the DB or maybe I need to
move the creation of the controls to another event?



Thanks

Yoramo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top