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

MVVM, HTML5 & OpenAccess Sample Project

3 Answers 94 Views
MVVM
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 06 Mar 2013, 08:24 PM
Is there a sample project that uses the MVVM framework along with the HTML5 widgets and OpenAcess as the data tier?  While I have found many small samples for each part I have not found one combining them.  It would be nice to see what a "Best Practice" would be in laying out the Visual Studio project.  I am working on a small project that I want to use they technologies on.

3 Answers, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 08 Mar 2013, 12:52 PM
Hello Tim,

I am afraid that we do not have such example. Kendo UI is a client-side framework which is not aware of the server technology that you are using. There would not be any difference in  the MVVM setup no matter what data tier you are using.


Kind Regards,
Petur Subev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Tim
Top achievements
Rank 1
answered on 08 Mar 2013, 12:56 PM
Is the grid able to bind to a remote data source using the MVVM framework?  I have been able to get the grid to load but edit, update, and delete's do not work.  What I was looking for is an example of this using a remote data source, not a local one.
0
Petur Subev
Telerik team
answered on 12 Mar 2013, 10:41 AM
Hello again Tim,


Yes it is possible 
The following demos are using remote data for remote binding:

http://demos.kendoui.com/web/grid/editing.html

Basically the declarative initialization is working the same way as the standard JavaScript syntax ( in fact in is translated to JavaScript after all). http://jsbin.com/ucuzub/2/edit

More examples with the remote operations with the dataSource and ASP.NET as back end can be found in our github repository:

https://github.com/telerik/kendo-examples-asp-net

https://github.com/telerik/kendo-examples-asp-net-mvc

Also do not forget to check the troubleshooting section to avoid the common mistakes.

Regards,
Petur Subev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
MVVM
Asked by
Tim
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Tim
Top achievements
Rank 1
Share this question
or