Dear all,
I'm using Kendo UI for JQuery and would like to bind the following querystring (generated by default from the grid widget):
skip=0&page=1&filter[filters][0][value]=Rare Diseases&filter[filters][0][operator]=eq&filter[filters][0][field]=keyword1.keywordValue&filter[logic]=or
to this model of an ASP.NET Core 3.1 webapp:
public
class
FSP
{
[JsonProperty(
"take"
)]
public
int
Take {
get
;
set
; }
[JsonProperty(
"skip"
)]
public
int
Skip {
get
;
set
; }
[JsonProperty(
"page"
)]
public
int
Page {
get
;
set
; }
[JsonProperty(
"pageSize"
)]
public
int
PageSize {
get
;
set
; }
[JsonProperty(
"filter"
)]
public
Dictionary<
string
,IEnumerable<Dictionary<
string
,
string
>>> Filter {
get
;
set
; }
}
All parameters of querystring are correctly mapped, except filter. Furthermore, I would like to avoid changing the querystring using the function transport.parameterMap.
Could you help me to find the error?
Thank you in advance.
Filippo