Click here to Skip to main content
15,894,630 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionAjax page method call during form validation Pin
Jay Royall18-Oct-12 22:43
Jay Royall18-Oct-12 22:43 
AnswerRe: Ajax page method call during form validation Pin
Richard Deeming19-Oct-12 1:44
mveRichard Deeming19-Oct-12 1:44 
GeneralRe: Ajax page method call during form validation Pin
Jay Royall19-Oct-12 2:03
Jay Royall19-Oct-12 2:03 
GeneralRe: Ajax page method call during form validation Pin
BobJanova19-Oct-12 2:36
BobJanova19-Oct-12 2:36 
GeneralRe: Ajax page method call during form validation Pin
Richard Deeming19-Oct-12 8:03
mveRichard Deeming19-Oct-12 8:03 
AnswerRe: Ajax page method call during form validation Pin
BobJanova19-Oct-12 2:39
BobJanova19-Oct-12 2:39 
GeneralRe: Ajax page method call during form validation Pin
Jay Royall19-Oct-12 3:04
Jay Royall19-Oct-12 3:04 
AnswerRe: Ajax page method call during form validation Pin
jkirkerx19-Oct-12 10:08
professionaljkirkerx19-Oct-12 10:08 
wow that got complicated

submit button > client script- if valid postback

So I would just add the onClientClick="return validate_Form();"

And write a simple function first in javascript/jquery

test if the fields are empty
test the field data
regex the email address,

if validation completes, then return true to fire the postback

Then you can get fancy, and add an ajax call to check for duplicate email address,

I would use onblurr for that, so it only fires once, and if a duplicate exist, focus the email field again.
Questionhow we can add source code in our running projects which given by code project website Pin
ashvin sharma18-Oct-12 22:40
ashvin sharma18-Oct-12 22:40 
AnswerRe: how we can add source code in our running projects which given by code project website Pin
Richard MacCutchan18-Oct-12 23:28
mveRichard MacCutchan18-Oct-12 23:28 
GeneralRe: how we can add source code in our running projects which given by code project website Pin
ashvin sharma19-Oct-12 1:52
ashvin sharma19-Oct-12 1:52 
GeneralRe: how we can add source code in our running projects which given by code project website Pin
Richard MacCutchan19-Oct-12 2:20
mveRichard MacCutchan19-Oct-12 2:20 
Questionhelp plx Pin
Muddassir Husain Awan18-Oct-12 20:35
Muddassir Husain Awan18-Oct-12 20:35 
AnswerRe: help plx Pin
Richard MacCutchan18-Oct-12 23:26
mveRichard MacCutchan18-Oct-12 23:26 
GeneralRe: help plx Pin
Pete O'Hanlon18-Oct-12 23:43
mvePete O'Hanlon18-Oct-12 23:43 
GeneralRe: help plx Pin
Richard MacCutchan19-Oct-12 0:09
mveRichard MacCutchan19-Oct-12 0:09 
GeneralRe: help plx Pin
jkirkerx19-Oct-12 10:37
professionaljkirkerx19-Oct-12 10:37 
AnswerRe: help plx Pin
J4amieC19-Oct-12 2:02
J4amieC19-Oct-12 2:02 
GeneralRe: help plx Pin
Deflinek19-Oct-12 2:58
Deflinek19-Oct-12 2:58 
GeneralRe: help plx Pin
fjdiewornncalwe19-Oct-12 3:15
professionalfjdiewornncalwe19-Oct-12 3:15 
QuestionHow do i write an SQL query for alphabetical ordered list?sql seerver Pin
Hasiya18-Oct-12 18:19
Hasiya18-Oct-12 18:19 
AnswerRe: How do i write an SQL query for alphabetical ordered list?sql seerver Pin
Richard MacCutchan18-Oct-12 23:26
mveRichard MacCutchan18-Oct-12 23:26 
Questionasp.net C# Pin
Don_318-Oct-12 0:03
Don_318-Oct-12 0:03 
SuggestionRe: asp.net C# Pin
Richard MacCutchan18-Oct-12 2:57
mveRichard MacCutchan18-Oct-12 2:57 
AnswerRe: asp.net C# Pin
jkirkerx18-Oct-12 9:02
professionaljkirkerx18-Oct-12 9:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.