470,632 Members | 2,098 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,632 developers. It's quick & easy.

Multiple submits on a VB.NET Page

harshmaul
490 Expert 256MB
Hi all,

I have a problem.
I have a search box on the top of all of my pages, and on various other pages i have forms that do other fancy stuff. However this has given rise to the bug.

If i wish to press return to submit the form it only submits to one of the buttons. I can control which button it submits to, but i want the search box to submit to its own function, and the other forms to submit to thier own functions.

I know why i am getting the problem but can't think of a decent enough workaround, its bugging up because the page can only have one form tag.

Thanks for your help it is needed :)
Jul 27 '07 #1
2 1029
kenobewan
4,871 Expert 4TB
In the past I have worked around this by not using onsubmit and have each button call its own function. Hth.
Jul 27 '07 #2
harshmaul
490 Expert 256MB
Thanks for your reply, much appreciated, but i hacked a work around for it. ;)
Jul 27 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

10 posts views Thread by 3A Web Hosting | last post: by
4 posts views Thread by Hul Tytus | last post: by
3 posts views Thread by ~john | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.