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

[Solved] KendoGrid with ForeignKey-Column

1 Answer 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sergey
Top achievements
Rank 1
Sergey asked on 03 Apr 2015, 10:27 AM
MVC, v.2015.1.318

1. Filtering by ForeignKey.
When I try to filter on a ForeignKey column, the first choice of the value is ignored. On the second - ok.
http://demos.telerik.com/kendo-ui/grid/foreignkeycolumn -  had same problem

2. Change Value in ForeignKey.
My source:
...
.DataSource(dataSource => dataSource
                .Ajax()
                .Events(events =>
                    events.Error("errorHandler")
                    .Change("changeDS")
                   )
...
    .Update(update => update.Action("Update", "xxx", new { ... }))
...
function changeDS(e) {
        console.log(e.action);
}

...
If value in column in was null and I select new value, then "changeDS" and "Update" not called.


2013 version had no such problems.


1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 06 Apr 2015, 01:07 PM

Hello Sergey,

The problem is that the drop down list widget does not trigger change event on item selection when initial value is an empty string (please refer to https://github.com/telerik/kendo-ui-core/issues/623).  

This issue should already been fixed in the latest internal builds. Please upgrade and let us know if the problem persists. 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Sergey
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or