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

[Solved] MVC , Ajax and Kendo UI

1 Answer 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rajaraman
Top achievements
Rank 1
Rajaraman asked on 01 May 2014, 05:38 AM
I am a newbie to Kendo UI with a thinking hat on, with a belief that to structure a Web App around ASP.NET MVC 4, Kendo UI/HTML5 and Ajax.

I am aware of the fact that Kendo UI
1) supports ASP.NET MVC 4/Server Side Controls ( using .cshtml, etc) 
2) supports Client Side Controls using Kendo UI / JS Framework with support of Ajax

A typical Web App may have controls that might comprise of server side controls using .cshtml and may also have client side controls. Example a listView populated using #1  with ASP.NET MVC Models, Controller, etc . On the click of the individual items in the list View , I want to set a client side controls created using #2 Kendo UI/HTML5  framework. it would source data using Ajax Calls. Is this fine or over-engineering. If there are other better architectural / design views let me know.

Regards
Rajaraman Soundararajan

1 Answer, 1 is accepted

Sort by
0
Accepted
Daniel
Top achievements
Rank 1
answered on 14 May 2014, 05:25 PM
If your list drills down into more data and all the data combined is less than 100kb (compressed json format), then I would load all the data in the same request. Then there is no need to do seperate ajax requests. I don't know what the kb file size limit should be, I just threw 100 out there. Test the performance of 1 request loading 100kb vs 10 requests loading 10kb each. I believe 1 request will win. 
Tags
General Discussions
Asked by
Rajaraman
Top achievements
Rank 1
Answers by
Daniel
Top achievements
Rank 1
Share this question
or