Asp.net 2.0 Page Load sequence and SqlPagePersister property -


I have 2 aspx pages, both use the same masterpiece and both of them use the same base class 'basepage' The system of type is that heirs Web.UI.Page I'm overriding the SqlPagePersister property on the base page. It works fine for 1 page, it is not for the other. Page A:

  • MasterPage Init
  • Page Load
  • SqlPagePersister's Recovery Page B:

    • SqlPagePersister Recovery
    • Master page Init
    • Page Load

    Why do 2 pages come out of these ways with a similar set up and fix it What can be done for?

    itemprop = "text">

    The sequence of events for page B can not be in the life cycle of the ASP.NET page. The master page is init and the page load is "re-fired" You want to see the action of any previous page which is being hidden in page B because recovery can also start before the input / loading.

    Page B Property There are some actions before retrieval It does not mean that you are going to catch it in your debug with your usual casual breakpoint, you may have to make it creative and you can start at the base of your base class.

    < / Div>

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -