This is a migrated thread and some comments may be shown as answers.

Editable grid breaks $.validator.unobtrusive

1 Answer 57 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alex
Top achievements
Rank 1
Alex asked on 08 May 2012, 09:46 PM
I am using MVC3 with 2012.1.214 Telerik MVC Extensions

Steps to reproduce:
1) Add an AJAX loaded form to a blank page on a push of a button.
2) Test that unobtrusive validation is not working.
3) Add javascript like this $.validator.unobtrusive.parse(formId) to run after the form is loaded
4) Test to see that unobtrusive validation works
5) Add a readonly ajax bound Telerik grid
6) Test to see that unobtrusive validation still works.
7) Add .Editable(editing => editing.Mode(GridEditMode.InLine)) to the grid
8) Test to see that  $.validator.unobtrusive becomes undefined when button to load form is pressed.

Any suggestions?

Thank you.

Alex

1 Answer, 1 is accepted

Sort by
0
Marilyn
Top achievements
Rank 1
answered on 18 Jun 2012, 10:46 AM
I have the same problem, has anyone has a solution for this?

Tags
Grid
Asked by
Alex
Top achievements
Rank 1
Answers by
Marilyn
Top achievements
Rank 1
Share this question
or