Last post May 09, 2011 02:09 PM by surfnetdz
May 06, 2011 03:13 PM|surfnetdz|LINK
I am running into a problem and I have no clue why. Please, please help. I have spent many hours trying to debug to no avail.
I have a regular asp page that is redirected to (using response.redirect after a user selects a button from another page) and it was working fine. It stops firing the pay_load event after I made some simple changes to it (adding a couple textboxes). This
page now displays the textbox, but it does not execute the pay_load
event (which loads more data from database).
I am not an experienced web developer, so please excuse what may seem to be a very obvious problem.
Thanks for any ideas.
May 06, 2011 04:23 PM|akhhttar|LINK
make sure that AutoEventWireup is not set to False in Page directive. It should be True to fire Page_Load event. Default value is also true.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" AutoEventWireup="true" %>
May 09, 2011 02:09 PM|surfnetdz|LINK
That was it. Thank you, thank you, Akhtar!