Hi,
I think I'm running into an issue where my client callback methods aren't being called when there are multiple RadWindowManagers on the page. I have an environment set up where there are potentially multiple user controls on a page where more than one will need its own WindowManager.
A test page I have demonstrates the problem:
It seems that when there are multiple windowmanagers on a single page, the first one found's Callbacks are the only ones that work.
Tests:
- As shown above, callback won't fire.
- Set WindowOpen to reference rwOrders1, callback will fire.
- Remove RadWindowManager1 and its window (and set RadOpen back to referencing rwOrders2), callback will fire.
- Add RadWindowManager1 and its window back, and move the rwOrders2 window to its WindowManager, and the callback will still fire.
Doing a google search it looks like this issue was identified and fixed back in 2006. However, I'm still seeing the same symptoms. Is there a quick workaround for the issue or am I missing something?
Thanks!
I think I'm running into an issue where my client callback methods aren't being called when there are multiple RadWindowManagers on the page. I have an environment set up where there are potentially multiple user controls on a page where more than one will need its own WindowManager.
A test page I have demonstrates the problem:
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" /> | |
<telerik:RadWindowManager runat="server" ID="RadWindowManager1"> | |
<Windows> | |
<telerik:RadWindow runat="server" ID="rwOrders1" OnClientShow="rwOrders_ClientClose"> | |
</telerik:RadWindow> | |
</Windows> | |
</telerik:RadWindowManager> | |
<telerik:RadWindowManager runat="server" ID="RadWindowManager2"> | |
<Windows> | |
<telerik:RadWindow runat="server" ID="rwOrders2" OnClientShow="rwOrders_ClientClose"> | |
</telerik:RadWindow> | |
</Windows> | |
</telerik:RadWindowManager> | |
<script language="javascript" type="text/javascript"> | |
function rwOrders_ClientClose(oWnd) { | |
alert("IN CALLBACK!"); | |
} | |
</script> | |
<a href="#" onclick="window.radopen('MyPage.aspx', 'rwOrders2');">New Order</a> | |
It seems that when there are multiple windowmanagers on a single page, the first one found's Callbacks are the only ones that work.
Tests:
- As shown above, callback won't fire.
- Set WindowOpen to reference rwOrders1, callback will fire.
- Remove RadWindowManager1 and its window (and set RadOpen back to referencing rwOrders2), callback will fire.
- Add RadWindowManager1 and its window back, and move the rwOrders2 window to its WindowManager, and the callback will still fire.
Doing a google search it looks like this issue was identified and fixed back in 2006. However, I'm still seeing the same symptoms. Is there a quick workaround for the issue or am I missing something?
Thanks!