hey all was wondering if anyone could help me. I'm trying to get a javascript event handler into an asp.net webcontrol.
in asp.net's form_load procedure i set the webcontrol submit button to right the html event handler like so.
Form_Load event:
btn.attributes.add("onSubmit", "functioncall()"
In the html produces from the server side code the onSubmit="functioncall()" is present, however it doesn't seem to be firing when a user clicks on the button.
Any suggestions? *** Any suggestions to my asp.net site would be great if your bored!
in asp.net's form_load procedure i set the webcontrol submit button to right the html event handler like so.
Form_Load event:
btn.attributes.add("onSubmit", "functioncall()"
In the html produces from the server side code the onSubmit="functioncall()" is present, however it doesn't seem to be firing when a user clicks on the button.
Any suggestions? *** Any suggestions to my asp.net site would be great if your bored!