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

Can you share a dataset between iframes?

1 Answer 64 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 15 Jun 2012, 02:28 AM
Can you share a data set between multiple iframes on a page so that if one updates they all update?

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 19 Jun 2012, 01:56 PM
Hello Jonathan,

I am afraid that your question is a bit unclear. Could you please provide some additional information about what you are trying to achieve? Code snippets demonstrating your current implementation or a jsFiddle example will be also appreciated.

Generally speaking, you can call methods of objects from other frames, however I would not recommend to mix up their properties. For example if all of the iframes are of the same domain, you can hook up to the change events of the dataSource instances and call their read method in order to update them.

Kind regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Data Source
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or