Thanks a lot!
It worked !
You know how this javascript function can eventually avoid submit the page?
Thanks agan!
Ricardo
"Raterus" <ra*****@spam.org> wrote in message
news:ux**************@TK2MSFTNGP10.phx.gbl...
myButton.Attributes.Add("onClick", "javascript
:someFunction();")
Even if you had validation on this button, you could still do this.
"Ricardo Silveira" <ca****@terra.com.br> wrote in message
news:ef**************@tk2msftngp13.phx.gbl...
I have a asp.net button in my webform. I want to run a custom client side
script (javascript) before submit the page and go to behindcode.
It doesn't have to pass by existing validator controls , i e,
CausesValidation="False";
Any help how to do that?
Thanks
Ricardo