I cant clear ur question properly but as i thing ur problem
u can have code like this:

dim ibtn as ImageButton = your control creation code

then u can asign ur event handler method as
addhandler ibtn.click ,addressof Mybutton_click


On Wed, Jun 3, 2009 at 8:04 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
>

Reply via email to