Page_Load() getting called twice...

Results 1 to 2 of 2

Thread: Page_Load() getting called twice...

  1. #1
    Join Date
    Dec 1969

    Default Page_Load() getting called twice...

    Has anyone ever had this problem before? I had a webform in which I was loading a table into a DataSet and it wasn't working because I had a relation set up with that table, and I figured out it was loading the table into the DS twice. I had no idea why and began some debugging. Eventually I got to the point where the only code anywhere was Response.Write("*"); in the Page_Load() and it was spitting out two *'s. Anyone have any ideas why this would happen? For now I'm just going to create a new webform and recreate the page from scratch...

  2. #2

    Default RE: Page_Load() getting called twice...

    It will happen if AutoeventWireUp is true and the event is also wired up "by hand" in code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts