This is a migrated thread and some comments may be shown as answers.

Off topic: Page Lifecycle

0 Answers 28 Views
Miscellaneous
This is a migrated thread and some comments may be shown as answers.
Daniel Plomp
Top achievements
Rank 2
Daniel Plomp asked on 14 Feb 2007, 10:47 AM
Hello all,

Maybe this is a bit off-topic, but thats why we have this 'Miscellaneous' forum, right?

I've a question about when and how to save data before the Postback occurs...

I've a page called Default.aspx. On this page I use a Tabcontrol with a Multipage control. When the Default.aspx page loads, the Tabs and PageViews are dynamically created based on data inside a table.

Also, the active PageView loads a UserControl (Question.ascx) that filters data based on the selected tab.

I want to save the data inside the Question.ascx when a user clicks another tab, because the content of a PageView is gone on each postback, I MUST save the entered data before this Postback occurs... What event on either the Usercontrol or the Page must I use to save the data before the postback?

If I click on a tab, the postback allready has occurred.

I hope someone could help me a bit with this.

Thanks,
Daniel

No answers yet. Maybe you can help?

Tags
Miscellaneous
Asked by
Daniel Plomp
Top achievements
Rank 2
Share this question
or