J
jbhopper
I use Attribute.Add to call a javascript function client-side from an asp:button control. The javascript function opens a window. My problem is that the submit event fires after the javascript code executes. When I view the source in "running documents" I see that the button is declared as "type=submit", even when I provide a commandName, which I thought changed a submit button into a command button. When I try to return false from the javascript function I get "return type mismatch". I've used this method successfully in user controls, but now I can't use it in a web page. Any suggestions
Thanks!
Thanks!