Is there an equivalent to Telerik.DataSource.DataSourceRequest.ToOdataString() extension for posting to an odata source?

1 Answer 121 Views
Form
Jstemper
Top achievements
Rank 2
Bronze
Iron
Jstemper asked on 06 Aug 2021, 10:59 PM
Is there an equivalent to Telerik.DataSource.DataSourceRequest.ToOdataString() extension for posting to an odata source?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 07 Aug 2021, 07:54 AM

Hi,

This is the extension method we've made for that purpose.

The Telerik.Blazor.Extensions namespace exposes that method, you can see it in action here: https://github.com/telerik/blazor-ui/tree/master/grid/odata

If this is not what you are looking for, please edit your post to add some more details on the situation.

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Jstemper
Top achievements
Rank 2
Bronze
Iron
commented on 09 Aug 2021, 03:05 PM

My question was specifically about posting data changes to an OData source.  The examples cites only show getting data from an odata source.

 

Is there any useful extensions for posting data to an odata source?

Marin Bratanov
Telerik team
commented on 09 Aug 2021, 07:27 PM

Thank you for the clarification.

We do not and cannot provide API for that as it means serializing the data model, and whether and how that should happen is entirely up to the app.

Our components (including the grid) are what we call data-source-agnostic, so they give you events where you get the new data (model) and let the app decide how to handle that (e.g., by sending it to a service which knows how to communicate with the backend).

Tags
Form
Asked by
Jstemper
Top achievements
Rank 2
Bronze
Iron
Answers by
Marin Bratanov
Telerik team
Share this question
or