G
Greg
I've run into a strange situation. It is my understanding that the Page_Load
event runs everytime the page is loaded. In my Page_Load event I have a
procedure that will populate a specific record.
I have a form that displays a listing of records. If you click on a record
the new page loads with that record loaded just fine. Now, on my target page
I have a save button that allows me to update an existing record and it works
fine. Now, when I close the form and return to the listing page it shows that
my update was processed correctly. Now, if I click on that same record again,
the Page_Load event does not run at all and somehow I end up getting the same
data for the record before I updated it.
If I go back to my list and click on another record the Page_Load event will
run.
It seems that once I click on a record it will run the Page_Load event the
first time, but the second and subsequent times it will not run the Page_Load
event and somehow it remembers the original values of which I am not setting
anywhere in code if the Page_Load event does not run.
I'm very puzzled and don't see how this can be happening. Is there something
in my url request string that would cause the Page_Load event not to run?
Any ideas would on why this may be happening would be helpful.
Thanks.
event runs everytime the page is loaded. In my Page_Load event I have a
procedure that will populate a specific record.
I have a form that displays a listing of records. If you click on a record
the new page loads with that record loaded just fine. Now, on my target page
I have a save button that allows me to update an existing record and it works
fine. Now, when I close the form and return to the listing page it shows that
my update was processed correctly. Now, if I click on that same record again,
the Page_Load event does not run at all and somehow I end up getting the same
data for the record before I updated it.
If I go back to my list and click on another record the Page_Load event will
run.
It seems that once I click on a record it will run the Page_Load event the
first time, but the second and subsequent times it will not run the Page_Load
event and somehow it remembers the original values of which I am not setting
anywhere in code if the Page_Load event does not run.
I'm very puzzled and don't see how this can be happening. Is there something
in my url request string that would cause the Page_Load event not to run?
Any ideas would on why this may be happening would be helpful.
Thanks.