Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Unwanted Postbacks

Thread Tools

Unwanted Postbacks

Stuart Ferguson
Posts: n/a
I currently have a simple 2 page application using AJAX Update panels
and i am having a few problems with the Browser back button.

If i have Page1.aspx with an update panel containing either a LinkButton
or Button control which on the Click Event redirects
to Page2.aspx then the redirection is performed fine...however when i
then click the back button on the browser to return to Page1.aspx
a trip is made back to the server and the Page_Load event of Page1.aspx
is fired.

If i have the same application but use the asp:HyperLink control to do
the redirection from within the UpdatePanel the behaviour is
that when the browser back button is clicked there is no trip back up to
the server. The same is also true if in the first
example Partial Rendering is turned off on the Script Manager.

It may also be worth noting that all my redirections using the
LinkButton and Button controls are done with Response.Redirect and NOT

Has anyone else seen this behavior and if yes are there any ways around


*** Sent via Developersdex ***
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
AJAX - Partial Postbacks are now Full Postbacks ?!! ASP .Net 0 01-25-2007 07:04 AM
Unwanted Gridview Postbacks Reid ASP .Net Datagrid Control 0 11-01-2006 08:18 PM
Best place to hold dataset between postbacks? Gandalf ASP .Net 1 07-17-2003 11:28 PM
Re: Grr Tables and postbacks Natty Gur ASP .Net 3 07-16-2003 04:28 AM
Where to store Variables that have to last during Refreshes and Postbacks Vincent V ASP .Net 0 07-08-2003 01:15 PM