View Single Post
  #2 (permalink)  
Old January 27th, 2014, 07:30 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi Alan,

Yes, this makes perfect sense. The code doesn't fire at the server until all your client side validation has passed. You could disable JavaScript in the browser and you would see that the server side functionality does fire immediately.

Debugging is only discussed in Chapter 18, so it's not something that can easily be explained in Chapter 9. However, the debugging chapter has some demos that show you end to end debugging from client side code into a server side web service, so hopefully you find that demo interesting as well.

Thanks for your suggestion.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote
The Following User Says Thank You to Imar For This Useful Post:
AlanWheeler (January 27th, 2014)