tags:

views:

83

answers:

1

I want to have a modal popup that may also have validation upon post. Can I have an example please.

A: 

For the validation piece, a great example is provided by good ole Scott Gu. I would suggest using client-side validation (requires MVC 2) rather than validating on post. Follow Scott Gu's post precisely, and optionally swap out the microsoft .js files for jquery.validate.min.js and MicrosoftMvcJqueryValidation.js (only do this if you're like me and prefer using all jquery instead of mish-mash MS javascript).

For the modal dialog, I like jqModal but there are several plugins out there to choose from.

bradjive
Isn`t there any example which include a modal dialog ?
I haven't found a good example; however, will know how to do it after reading the links I have posted above.
bradjive