0

I have a requirement in MVC3. I have a simple form with a gridview with edit, update and delete button. When I update any record, validation should be fire for only that single row, not for other rows.

Gaurav Gupta
  • 157
  • 4
  • 13
  • The more information you provide in your question (code, examples, errors), the better the answer will be. Right now we don't have much to go on. – Niklas Feb 18 '14 at 10:02

1 Answers1

0

Upon clicking edit load a partial view into an Ajax dialog. Validation won't work on that loaded partial view, you'll have to tell jquery validate to parse that new content to validate it ala MVC 3 Razor. Partial View validation is not working

Community
  • 1
  • 1
Adam Tuliper
  • 29,982
  • 4
  • 53
  • 71