Modal Confirmation Dialog Example Project with jQuery and MVC3 This sample code demonstrates how to create a simple HTML form in a C# MVC3 web application with data annotation validation. The form displays a jQuery modal confirmation dialog upon clicking the form submit button, allowing the user to confirm the data prior to submitting. The confirmation dialog can easily be ported to different web applications by making minor changes to the HTML for the dialog and associated javascript. Copyright © 2012 Kory Becker (http://www.primaryobjects.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
primaryobjects/jQuery-Modal-Confirmation-Dialog-MVC-Form-Submit
A sample C# MVC3 web application to submit a form and display a modal confirmation dialog with jQuery UI. The confirmation dialog allows the user to confirm the data prior to submitting to the server. Easily modifiable for any web application.
C#