This question is locked. New answers and comments are not allowed.
I have a model which has parameters that I need passed on the query string when I click sort, filter, etc on a grid. Normally when I put something like this on the query string with mvc it can take a property such as:
class Test
{
public List<int> Ids {get;set;}
}
and when I call something like Url.Action("route", "controller", Model) where model is of type Test, it generates:
/controller/route?Ids=1&Ids=2&Ids....
When I try to use ajax binding:
.DataBinding(databinding => databinding.Ajax().Select("Grid","Controller", Model))
it generates
Ids=System.Collections.Generic.List[int]
or something like that for the query string on my route I bound to the Ajax Select.
Am I doing something incorrect? Is this a bug? Do I need to explain myself better?
Thanks
class Test
{
public List<int> Ids {get;set;}
}
and when I call something like Url.Action("route", "controller", Model) where model is of type Test, it generates:
/controller/route?Ids=1&Ids=2&Ids....
When I try to use ajax binding:
.DataBinding(databinding => databinding.Ajax().Select("Grid","Controller", Model))
it generates
Ids=System.Collections.Generic.List[int]
or something like that for the query string on my route I bound to the Ajax Select.
Am I doing something incorrect? Is this a bug? Do I need to explain myself better?
Thanks