Hi
I would like to run a javascript function (to confirm deletion) from a web control (asp:button) before posting back to the same page.
I have read about how to do this in several places (mybutton.attributes.add... )
However, the fact that I have asp.net validation controls on my page means that I automatically end up with two onclick attributes in my HTML and the javascript function is not called.
Has anybody encountered (and hopefully solved) this?
Thanks in advance
Duncan