In my ASP.NET app, Page_Load is fired on the old page when I navigate to a new one.
Example: Browser is at page1.aspx. Click a button that navigates to page2.aspx. Page_Load is fired for page1.aspx just before going to page2!
I already know about IsPostBack.
Is there some way (besides IsPostBack) that I can tell if this odd condition is occurring and safely ignore it rather than building out the entire page?
In other words, I'd like to avoid all the Page_Load code if the user is just leaving this page and going to another.