Click here to Skip to main content
15,921,793 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDisabling web browser close(x) button. Pin
RAMADURAI P19-Oct-12 19:08
RAMADURAI P19-Oct-12 19:08 
AnswerRe: Disabling web browser close(x) button. Pin
Sandeep Mewara19-Oct-12 23:30
mveSandeep Mewara19-Oct-12 23:30 
GeneralRe: Disabling web browser close(x) button. Pin
RAMADURAI P21-Oct-12 18:13
RAMADURAI P21-Oct-12 18:13 
GeneralBest structure in .Net? Pin
batuhan karaduman19-Oct-12 4:57
batuhan karaduman19-Oct-12 4:57 
AnswerRe: Best structure in .Net? Pin
AspDotNetDev19-Oct-12 5:58
protectorAspDotNetDev19-Oct-12 5:58 
GeneralMessage Closed Pin
19-Oct-12 6:42
professionalfjdiewornncalwe19-Oct-12 6:42 
GeneralMessage Removed Pin
19-Oct-12 7:07
protectorAspDotNetDev19-Oct-12 7:07 
GeneralRe: Best structure in .Net? Pin
R. Giskard Reventlov19-Oct-12 7:19
R. Giskard Reventlov19-Oct-12 7:19 
QuestionIErrorInfo.GetDescription failed with E_FAIL(0x80004005) Pin
busteronline19-Oct-12 2:57
busteronline19-Oct-12 2:57 
AnswerRe: IErrorInfo.GetDescription failed with E_FAIL(0x80004005) Pin
Jay Royall19-Oct-12 3:12
Jay Royall19-Oct-12 3:12 
Questionweb stats recommendations Pin
Jassim Rahma19-Oct-12 2:52
Jassim Rahma19-Oct-12 2:52 
AnswerRe: web stats recommendations Pin
code-frog19-Oct-12 18:11
professionalcode-frog19-Oct-12 18:11 
Questionhow can i add two page route in mvc? Pin
mhd.sbt19-Oct-12 2:32
mhd.sbt19-Oct-12 2:32 
AnswerRe: how can i add two page route in mvc? Pin
Deflinek19-Oct-12 2:50
Deflinek19-Oct-12 2:50 
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 

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.