Oct 09, 2013, 3:23 PM
[CLOSED] gridfilter / submitted data / json deserialize different values
Hi
In a gridpanel with an ajaxproxy (.ashx) I am working with gridfilters. Unfortunately I can't use a direct method so I get the filter values in the context.request object as json strings. Sometimes the look like this
Thank you for some tips or any help.
In a gridpanel with an ajaxproxy (.ashx) I am working with gridfilters. Unfortunately I can't use a direct method so I get the filter values in the context.request object as json strings. Sometimes the look like this
"[{\"type\":\"boolean\",\"value\":\"true\",\"field\":\"C\"}]"
and sometimes like this"[{\"type\":\"list\",\"value\":[\"a\"],\"field\":\"b\"}]"
depending if it was a listfilter or a booleanfilter, etc. Is there a possiblility to deserialize easly into the filtercondidtions or a simple dictionary? The first one is easy but the second one has "[]" in it so I get an error... I will never use an array there but the listfilter submits the data like this anyway.Thank you for some tips or any help.
Last edited by Baidaly; Oct 09, 2013 at 7:52 PM.
Reason: [CLOSED]