Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
985
Loosing handler when user presses back button
posted

I have a WHDG that contains a column of imagebuttons of which I add the ItemCommand to a ItemCommandEventHandler. This works fine and the users can use the button with no problem. But when the user presses the back button of the browser and it returned to the page with the WHDG it seems as if the handle is lost and nothing happens when the user presses the imagebuttons.

 

How can I prevent this from happening or how can I add the handler to the event again?