E
Eric Maia
I have an ASP.Net page with a Repeater that displays a list of
records. These records have "delete" links which redirect to a
separate page for confirmation and delete the record. When the
deletion is complete, the browser is redirected back to the list page.
When I delete a record and get returned to the list page, the Repeater
still shows the deleted record. If I refresh the list page, the
correct data (without the deleted record) is shown. In other words,
I'm being redirected back, but the page is not being reloaded - the
old page is shown.
I have 4 or five of these list pages with databound Repeaters, and
they all show the same behavior.
Why would using Response.Redirect() from one page (e.g.
TypeDelete.aspx) to another (e.g. TypeList.aspx) not cause Page_Load()
to run and query and load new data into the Repeater?
Thanks - Eric
records. These records have "delete" links which redirect to a
separate page for confirmation and delete the record. When the
deletion is complete, the browser is redirected back to the list page.
When I delete a record and get returned to the list page, the Repeater
still shows the deleted record. If I refresh the list page, the
correct data (without the deleted record) is shown. In other words,
I'm being redirected back, but the page is not being reloaded - the
old page is shown.
I have 4 or five of these list pages with databound Repeaters, and
they all show the same behavior.
Why would using Response.Redirect() from one page (e.g.
TypeDelete.aspx) to another (e.g. TypeList.aspx) not cause Page_Load()
to run and query and load new data into the Repeater?
Thanks - Eric