Click here to Skip to main content
15,896,201 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how can i add two page route in mvc? Pin
mhd.sbt19-Oct-12 6:25
mhd.sbt19-Oct-12 6:25 
AnswerRe: how can i add two page route in mvc? Pin
Mayank_Gupta_24-Oct-12 22:51
professionalMayank_Gupta_24-Oct-12 22:51 
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 
You need to add an extra step to your submission process, if you want AJAX validation before submitting. At the moment your workflow looks like

Press button -> client validation -> post to server

... as a synchronous process. You need to do

Press button -> client validation -> send AJAX validation request (...) receive AJAX response -> post to server

The (...) is an asynchronous wait with an event handler set. As for all AJAX queries you need to handle long delays and dropped connections gracefully.

Do you actually need this? I would think that people would expect a 'Submit' button to submit a postback, and for it to return them to the form after a postback with server-side validation errors would be acceptable. You will always have to do the server side validation anyway, so this is purely a user convenience feature.
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 
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 

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.