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

Custom Edit, IE8, Razor, dropdown list only works once?

1 Answer 29 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 26 Sep 2012, 02:21 PM
I'm using the "Editing custom editor" example to create a grid with multiple columns, few of which have dropdownlists for edits.

On Firefox, i can edit any of the columns that I have fine. However, with IE8, after editing a dropdown value once the column value shows up as "undefined".

has anyone else experienced this? And perhaps has a workaround?

1 Answer, 1 is accepted

Sort by
0
Dave
Top achievements
Rank 1
answered on 26 Sep 2012, 02:39 PM
After further inspection, i learned that the following is what is causing it...

.Events(ev => ev.Save(@"function(e){
                    setTimeout(function(){
                        $('#YourGrid').data('kendoGrid').dataSource.sync()
                    }
            )}"))
I'm trying to submit the row for updating right after i select a value. This works fine in Firefox, but not in IE.
Tags
Grid
Asked by
Dave
Top achievements
Rank 1
Answers by
Dave
Top achievements
Rank 1
Share this question
or