Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Javascript validation with web controls and form postbacks

Reply
Thread Tools

Javascript validation with web controls and form postbacks

 
 
JP2006
Guest
Posts: n/a
 
      08-22-2006
I have a webpage that is made up of mulitiple web controls. Several of
these effect a postback on the page if clicked on. However one them is
a form and needs validation on the user input - I have some javascript
that does the validation which is triggered by the onsubmit event of
the form.
The issue is that this event, and the javascript, also fires when any
of the other webcontrols on the page are used (ie. a link button is
clicked).
I am sure this is a common beginners problem with .NET web forms and
web controls - please put me straight on the right way to do this!
Thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A form validation library with javascript validation Grigory Temchenko Python 0 12-28-2008 08:38 PM
AJAX - Partial Postbacks are now Full Postbacks ?!! gregfocker@earthlink.net ASP .Net 0 01-25-2007 07:04 AM
copy and paste form RTF document into field in asp form cause it to bypass field length and javascript validation - how to overcome? NotGiven Javascript 3 05-13-2004 12:15 AM
copy and paste form RTF document into field in asp form cause it to bypass field length and javascript validation - how to overcome? NotGiven ASP General 3 05-13-2004 12:15 AM
Form Validation Problem...Persisiting form fields on validation failure. bnp Javascript 4 05-12-2004 12:16 PM



Advertisments