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

Several script managers in one page with iFrame.

1 Answer 88 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Kirill
Top achievements
Rank 1
Kirill asked on 09 Jan 2009, 02:01 PM
Hi.

In help documentation you wrote that we should not use several script managers and even ajax managers on the same page.
Lets consider an example:
I have a main page with script manager, ajax manager and radwindow.

So I'm opening in the main page radwindow with page A inside it.
Page A also complex - it contains many controls, ajax manager, script manager etc.

Basically, radwindow is an iframe, so all elements from main page and page A are located "at the same page" - in one DOM object.
So in such situation we have several ajax and script managers in the same page.

How to omit this?
What would you recommend to do in such situation?

/Thank you!

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 12 Jan 2009, 01:33 PM
Hello Kirill,

You can not omit loading of different ScriptManagers for the parent and for the IFrames. This is because the IFrame actually loads a separate DOM instance for the IFRAME page that is loaded. This is the only case where the parent page or master page may have separate ScriptManagers.

Kind regards,
Georgi Krustev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
Kirill
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or