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

Grid toODataString method is encoding special characters

1 Answer 52 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mukesh
Top achievements
Rank 1
Mukesh asked on 09 Sep 2019, 09:39 AM

Grid toODataString method is encoding special character. I don't want grid to do that that encoding; In fact i want my api to take encoding responsibility.

Can i stop grid to encode special characters. Is there any configuration for that. 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 10 Sep 2019, 07:40 AM

Hello, Mukesh,

In one of our demo apps, we have a custom function to serialize the parameters. The same function can be taken as well, and to remove the "encodeURIComponent" method, so the parameters are not encoded:

https://github.com/telerik/kendo-react-demo-aspnetcore-data/blob/master/ClientApp/components/WithState.js#L137

I hope this will help to achieve the desired result.

Regards,
Stefan
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
General Discussions
Asked by
Mukesh
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or