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

DataSourceRequest won't model bind

1 Answer 94 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Einar
Top achievements
Rank 1
Einar asked on 30 Sep 2015, 08:29 PM

I'm following the Virtualization demo at http://demos.telerik.com/aspnet-mvc/combobox/virtualization and get data back initially, however I notice that my request parameter is not being populated with what's sent to the server. Mainly the Filter property is null even though it's included in the request.

 Controller action: 

public JsonResult GetParentResellers([DataSourceRequest]DataSourceRequest request)
{
    //...
}

The only properties that have a value are PageSize, Page and Take.

I've attached an image of the ajax request that the Combobox sends to the server.

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 02 Oct 2015, 02:16 PM
Hello Einar,

I could not replicate the issue locally. Could you review the attached test project and modify if possible in order to demonstrate the issue?

Regards,
Georgi Krustev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ComboBox
Asked by
Einar
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or