Data Editors for ASP.NET MVC - How to use AJAX callbacks to validate a Captcha code and submit a form
This example demonstrates how to use callbacks to validate model data and Captcha code.
Call the jQuery library's serialize method to collect values from all editors displayed in a form. Send these values in an AJAX callback to the Controller.
- Index.cshtml
- Index2.cshtml
- HomeController.cs (VB: HomeController.vb)
- MyModel.cs (VB: MyModel.vb)
- _CaptchaPartial.cshtml
- EditFormPartial.cshtml
(you will be redirected to DevExpress.com to submit your response)