lost event ...

L

Lloyd Dupont

I have a Button in a WebForm
I add a handler to the click event by writting that
OnClick="HMyHandler" in the button tag.

initially it didn't work.
so in the Page_Load() method I wrote
myButton.Click += new EventHandler(HMyHandler)

and then the handler was called twice ...

I'm puzzled, what's going on ?
 

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

Staff online

Members online

Forum statistics

Threads
473,769
Messages
2,569,577
Members
45,052
Latest member
LucyCarper

Latest Threads

Top