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

WebApiDataSourceRequestModelBinder post instead of get?

1 Answer 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Maximiliano
Top achievements
Rank 1
Veteran
Maximiliano asked on 23 May 2019, 10:06 PM

Hi,

 

i'm using the grid with paging/sorting/grouping/etc, all with the magical WebApiDataSourceRequestModelBinder and the ToDataSourceResult...

the thing is, that sometimes if the user is  filtering too much information the url is not enough, so i was wondering if all that data could be send through a POST instead a GET...

i've tried configuring the datasource as POST, but i can't get the DataSourceRequest filled with the passing data...

 

 

any hint on this?

 

 

regards.

 

 

 

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 27 May 2019, 12:58 PM
Hi,

You can try to use the 'transport-update-type' or some other "transport-**-type" prop as described in the API docs here.

Regards,
Plamen
Progress 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
Grid
Asked by
Maximiliano
Top achievements
Rank 1
Veteran
Answers by
Plamen
Telerik team
Share this question
or