View Full Version : how to access ExtJS from iframe

10 Aug 2010, 11:39 PM
I have an intranet web application which uses iframes. The outer web-page has a menu and an iframe. The inner webpage is loaded inside this iframe based on the selected menu item in the outer page. All the pages are using lots of ExtJS, so in order to minimize the number of times extjs library is loaded I have decided to load it only once in an outer page and reference it from the inner pages like
new top.Ext.grid.GridPanel();

I understand that I have to use document.getElementById() function to specify renderTo. But I still got errors. Is it even possible to use ExtJs this way? And what are the limitations?

12 Sep 2011, 7:20 AM

did you get answer to your question??

i am in the same situation.i need to load extjs code in multiple ifrmes.

Please let me know if you have found some solution?