Attach an eventhandler for the click event of the said imagebutton, when you create it.
On postback, reattach the eventhandler (run the code that dynamically creates the controls again) and then the eventhandler will be invoked. On Jun 3, 7:34 pm, moni <[email protected]> wrote: > Hi, > > I am creating controls dynamically, and am using an image button. > Could anyone tell me, how I can call its on click method, and do > something inside that method based on where the clicks been done. I > have read something about delegate methods, but not sure if that is > the right and only way to do it. Currently I have changed that into an > image and am using javascript onlclick. > > Thanks for any help, > Monisha
