Mar 26, 2009, 7:40 PM
[CLOSED] Loop through tabs
Hello,
I've asked the question in the iframe topic, but here it is again:
I have a bunch of tabs in a tabpanel which are basically iframes with other apsx files, I don't know on beforehand how many tabs there are, and which tabs they are.
I need to run an AjaxMethod in every open tab, called from the host of the tabpanel.
How can I accomplish this?
I thought of looping through tabPanel.items and for each of those items do a call to the AjaxMethod, but it doesn't seem to work.
I have this:
Kind regards,
Reno
I've asked the question in the iframe topic, but here it is again:
I have a bunch of tabs in a tabpanel which are basically iframes with other apsx files, I don't know on beforehand how many tabs there are, and which tabs they are.
I need to run an AjaxMethod in every open tab, called from the host of the tabpanel.
How can I accomplish this?
I thought of looping through tabPanel.items and for each of those items do a call to the AjaxMethod, but it doesn't seem to work.
I have this:
for (var atab in tabPanel.items) {
atab.iframe.Coolite.AjaxMethods.MyMethod();
}
Thanks for your help.Kind regards,
Reno