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

RadWindowManager with RadWindow that has an UpdatePanel

1 Answer 71 Views
Window
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 31 Aug 2012, 08:59 PM
In the past I've successfully used a single RadWindow on a page.  It works fine.

Now I need to have one RadWindow appear on top of another RadWindow.  Reading through Telerik's documentation I've learned that I need to introduce the RadWindowManager.  I did so but encountered this error: http://www.telerik.com/support/kb/aspnet-ajax/window/cannot-unregister-updatepanel-with-id-updatepanelid-since-it-was-not-registered-with-the-scriptmanager.aspx

There is NO WAY I can get rid of the UpdatePanel in my RadWindow.  It must stay.

So reading the 1st suggested workaround I tried doing this:

<telerik:RadWindowManager ID="rwManager" runat="server" /><br><telerik:RadWindow ID="rwNewMuckpile" runat="server" Behaviors="Move" EnableShadow="true" VisibleStatusbar="false" VisibleTitlebar="false" AutoSize="true" Modal="true"><br>  <ContentTemplate><br>    <asp:UpdatePanel ID="UpdatePanel2" runat="server"><br>      <ContentTemplate><br>        <div class="dialogHeader"><br>          Move Muck<br>        </div><br>        .<br>        .<br>        .<br>

But it just produced another error: "Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'ctl00_ContentPlaceHolder1_Mucking_rwNewMuckpile' can't be added to the application."

So what should I do?

Robert



1 Answer, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 31 Aug 2012, 11:40 PM
Problem solved!  I'm just bypassing the RadWindowManager altogether and opening (and then later closing) the 2nd RadWindow on top of the original one that is open.

Everything seems to work fine so far!
Tags
Window
Asked by
Robert
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Share this question
or