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

Popup editing not working with date type

1 Answer 133 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Carlos Adriano
Top achievements
Rank 1
Carlos Adriano asked on 14 May 2012, 03:43 PM
(The solution can be downloaded from https://skydrive.live.com/redir.aspx?cid=f375843789525b62&resid=F375843789525B62!18841&parid=F375843789525B62!151&authkey=!ABFfR73fGD96sY0 as the file exceed the max size of 2MB that is too small for a simple project)

I have got a problem when editing using popup mode in kendoGrid, the problem seems to be caused by using a format string in a column of the grid, if I use a template instead it works but, it is not what I would like to do every time I use the grid.

Steps to reproduce the problem:

1 - Open the attached solution in Visual Studio 2010.
2 - Build the solution.
3 - Access http://localhost/KendoGridError in Internet Explorer 9.
4 - Open the console Tab in development tools (F12).
5 - Try editing any Customer.
6 - Observe that the console displays an error message:
SCRIPT1002: Sintax error
jquery.min.js, line 2 Character 11006

Steps to solve the problem using templates (Considering that you still have all the applications in the previous steps open):

1 - Open "Read.cshml" under /Views/Customer in Visual Studio 2010.
2 - Change list.js for list2.js.
3 - Refresh the page in Internet Explorer.
4 - Try editing any Customer.
5 - Observe that it now opens the editing popup.

Another issue I am having is the when I edit a customer it generates an error message on the console, I would like to know what exacly an update operation should return to the grid, the documentation does not seems to help very much.

Thanks in advance.

Carlos Adriano Portes

1 Answer, 1 is accepted

Sort by
0
Carlos Adriano
Top achievements
Rank 1
answered on 15 May 2012, 04:04 PM
Thread attached file updated.
Tags
Grid
Asked by
Carlos Adriano
Top achievements
Rank 1
Answers by
Carlos Adriano
Top achievements
Rank 1
Share this question
or