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

[Solved] Binding to Embedded JSON Object

2 Answers 42 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Hugh Cumper
Top achievements
Rank 1
Hugh Cumper asked on 03 May 2011, 08:50 PM
I need to bind a grid to a JSON object embedded on the page, the reason is that the data is reused to plot pins on a map. I can invoke a Javascript method from ClientEvents.OnDataBinding which parses the JSON and does a grid.dataBind(), my concern is with any size limit on this. I have up to 1 mb of JSON and the only example I can find of this on the site in sharp contrast uses a Twitter feed. Does anyone foresee a problem with this?

2 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 04 May 2011, 09:08 AM
Hello Hugh,

There should be no issues with this approach and the only thing you should be concerned is the size of the passed JSON (performance-wise). The smaller the amount of data is, the faster the grid will load it, therefore consider using paging and filters (if applicable) as shown in the Facebook feed demo.

Best regards,
Sebastian
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Gwen
Top achievements
Rank 1
answered on 16 Jun 2011, 07:22 PM
what facebook has to do with this ?  I do not have a facebook account and unable to see the demo
and I am curious why there an extra step I need to take to see an important demo  when I am on telerik web resource?
If it is a video why not youtube ? at least I do not have to deal with fb bs.
Tags
Grid
Asked by
Hugh Cumper
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Gwen
Top achievements
Rank 1
Share this question
or