Author: renanmzmendes | Posted on: 6/24/2008 3:03:39 PM | Views : 296

 Hi,
   I'm developing  web application in asp.net and the most bizarre situation ocurred. I have a Login page that redirects the user to another WebForm, if the user is valid. When I click the "Enter" button to be redirected to that page, the Page_Load method in the Login page is called, and the Enter_OnClick method is called right after that. I'm redirected, as expected, and, in the WebForm page, the OnInit method is called, and after that the Page_Load method of the current page. Up to here, everything's OK. But, unexpectedly, the Page_Load method of the Login page is also called! And strangest of all: the WebForm page is displayed, not the Login page... That happens on IE 7...
   On Firefox, my WebForm's Page_Load is called twice, and the OnInit method from the Login page is not called for the second time.

  Things I've done: I've eliminated my MasterPage, with the necessary corrections ...

Go to the complete details ...