Event handler not fired after using browser back button bug??? ...or What!!!

  • Thread starter Thread starter Earl Teigrob
  • Start date Start date
E

Earl Teigrob

When I display a page with imagebuttons, clicking on a link fires the event
associated with that link and takes me to the correct page. When I use the
browser back button to go back to the origonal imagebutton page, and press a
different imagebutton, no event is fired and the page for the first
imagebutton loads.

See the problem at:
http://www.site2020.com/PhotoBrowserApp/default.aspx?MediaPath=/By+Event/

If I use the "Thumbnail View" button to go back, everything works fine.

If refreash the page after using the browser back button, everything works
fine.

Thanks for your help

Earl
 
Got the solution, and it is not a bug...sorry microsoft. In my case, I was
storing a global variables class in a session variable. This variable would
time out and lose its values, so when I corrected this issue, the link
problem also disappeared. I think the session variables in my global
variables class where not being maintained properly during postback, which
could cause the page to load its controls in a different order and then not
raise a postback event.

Earl
 
Back
Top