Your added handler does not persist across executions of the page. As far as I know you will need to add the handler each time you need it. Include some variables in the ViewState whe the Image buttons are created to tell you what handlers are needed on next execution.