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

Data binding for Azure DocumentDB

5 Answers 114 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Howard
Top achievements
Rank 1
Howard asked on 19 Jun 2016, 06:45 PM

I created a standard MVC web app in VS 2015

I want to use the Grid and can not figure out how to data bind it 

 

5 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 22 Jun 2016, 09:00 AM
Hi,

You can refer to the article below for detailed information how to add DocumentDB to your MVC web application project:
https://azure.microsoft.com/en-us/documentation/articles/documentdb-dotnet-application/

Regards,
Pavlina
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
0
Grahame
Top achievements
Rank 1
answered on 05 Oct 2017, 12:23 PM

I'm also looking at using an ASP.NET core WebAPI to allow binding of the Grid to DocumentDB/CosmosDB, Cosmos DB doesn't supports the LINQ generated syntax for SKIP when using paging; is there away to tell the grid to perform paging but remove the page number and/or first/last buttons so a using may only navigate forward/back using the cosmos continuation tokens.   IMHO this is a major feature that Cosmos DB has missed out :'(  not sure how you navigate large datasets without a SKIP/TOP and query nesting server side.

 

0
Pavlina
Telerik team
answered on 10 Oct 2017, 12:53 PM
Hi Grahame,

Basically you can achieve your goal by applying a custom logic that returns the data as it is expected by the grid. You should also configure the read method to pass the skip and take parameters on the server to process the request.

Regards,
Pavlina
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Grahame
Top achievements
Rank 1
answered on 10 Oct 2017, 01:30 PM
I have a custom WebAPI controller then does this; however paging using SKIP results in errors as CosmosDB hasn't support for the SKIP; I'm looking for away to do paging in a forward only manor showing page numbers (buttons) that are disabled; given CosmosDB has limited linq support.
0
Pavlina
Telerik team
answered on 12 Oct 2017, 01:22 PM
Hello,

I am afraid that this is out of our scope. According to the following Azure feedback item Support for Skip is under review, so you can vote for it and hopefully it will available soon:
https://feedback.azure.com/forums/263030-azure-cosmos-db/suggestions/6350987--documentdb-allow-paging-skip-take

Regards,
Pavlina
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Howard
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Grahame
Top achievements
Rank 1
Share this question
or