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

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
 
E

Earl Teigrob

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top