In the Cascading ComboBoxes docs, it shows the parameters of the request will be:
filter[logic]: and
filter[filters][0][field]: parentID
filter[filters][0][operator]: eq
filter[filters][0][value]:
But nowhere does it say what the data structure on the server side should be. I've got MVC Complete (MVC 4, VS2010, Kendo v2015.3.1111) and tried the DataSource object (with attribute), but no luck. Any suggestions?
I even went to far as to replicate what I think would be the data structure on the server, but that didn't work either. This is what I tried:
public
class
DropDownListFilterItem
{
public
string
Field {
get
;
set
; }
public
string
Operator {
get
;
set
; }
public
string
Value {
get
;
set
; }
}
public
class
DropDownListFilter
{
public
string
Logic {
get
;
set
; }
public
List<DropDownListFilterItem> Filters {
get
;
set
; }
}
and the single argument to the Controller Action was of type DropDownListFilter.
Thanks,
--Ed