Off topic: Page Lifecycle

1 posts, 0 answers
  1. Daniel Plomp
    Daniel Plomp avatar
    130 posts
    Member since:
    Feb 2004

    Posted 14 Feb 2007 Link to this post

    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.

Back to Top