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

How to open modal popup window from already open modal popup window?

1 Answer 234 Views
Window
This is a migrated thread and some comments may be shown as answers.
JJ
Top achievements
Rank 1
JJ asked on 26 Jul 2011, 12:28 AM
Hello All,

I want to open modal popup window from already opened modal popup window.

Let's say I have already opened popup window called "open.aspx". I have hyperlink on that page. When I click on that hyperlink it should open another popup window "AnotherOpen.aspx". When I tried this, it showed me an error "radopen is not defined". So I put 
<telerik:RadWindowManager> in head section of that "open.asp". When I run again, it said it needs 
<telerik:RadScriptManager> .
When I put RadScriptManager on the page. It gave me the error stating "The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases".

How can solve this problem?

Any help would be appreciated.

Thanks in advance.

Sincerely,
JJ

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 26 Jul 2011, 04:18 PM
Hello Jj,

The RadWindowManager should be placed inside the form tag, not in the head section. What I would recommend, though is that you examine this help article, as it shows a better approach on opening a RadWindow from another RadWindow so that the second is not limited to the context of the first.


All the best,
Marin
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Window
Asked by
JJ
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or