I have two radwindows that I minimize to a raddockzone. When I click the restore icon it works fine and puts the window back where it was, but if I double click the minimized window it tries to restore it within the raddockzone. I am creating the windows through JS and am using the minimizezoneid from a radwindowmanager. I am testing in IE7. Am I missing something?
6 Answers, 1 is accepted
I tried to reproduce the problem with the following setup but everything worked as expected:
<form id="form1" runat="server"> |
<asp:ScriptManager ID="Scriptmanager1" runat="server"> |
</asp:ScriptManager> |
<telerik:RadWindowManager MinimizeZoneID="DockZone1" ID="RadWindowManager1" runat="server"> |
</telerik:RadWindowManager> |
<telerik:RadDockZone ID="DockZone1" runat="server" Width="300px" Height="500px"> |
<telerik:RadDock ID="RadDock1" runat="server"> |
<ContentTemplate> |
content</ContentTemplate> |
</telerik:RadDock> |
</telerik:RadDockZone> |
<button onclick="radopen('about:blank','RadWindow1');radopen('about:blank','RadWindow2'); return false;">Test</button> |
</form> |
Can you please provide more details about your setup?
Regards,
Georgi Tunev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
It appears to happen when I have the skin set to vista in the windows manager. If I use the default skin it doesn't seem to happen. I put a quick sample together. If you run the code it works fine. Then change the skin to vista and minimize two windows and then double click on one of the minimized windows.
John
<head runat="server">
<title>Untitled Page</title>
<script type="text/javascript">
function ShowDynamicDialog(strWindow, strUrl, strTitle, strWidth, strHeight, isModal, showStatus, closeFunction, hasbehaviors)
{
var oWindow = window.radopen(strUrl, "frm" + strTitle);
oWindow.set_title(strTitle);
oWindow.setSize(strWidth,strHeight);
if (hasbehaviors != "none")
{
oWindow.set_behaviors(hasbehaviors);
}
if (!showStatus) //shows the status bar
{
oWindow.add_pageLoad(function(){oWindow.set_status(" "); });
}
if (isModal) //show up as a modal window
{
oWindow.set_modal(true);
oWindow.set_behaviors(Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Resize);
}
if (closeFunction != "none")
{
oWindow.add_close(closeFunction);
}
}
function alertMe()
{
alert('alert me ');
}
function alertMe1()
{
alert('testing');
}
</script>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="ScriptManager1" runat="server" EnableTheming="True">
</telerik:RadScriptManager>
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Behavior="Default"
InitialBehavior="None" Left="" Top="" MinimizeZoneID="RadDockZone1">
</telerik:RadWindowManager>
<div>
<table>
<tr>
<td style="width: 100px">
<img src="http://www.telerik.com/images/Homepage/telerikLogo.gif" onClick="ShowDynamicDialog('radWindow', 'http://www.telerik.com','Telerik', '400','400', false, false, alertMe, Telerik.Web.UI.WindowBehaviors.Minimize + Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Close);" alt=""/></td>
</tr>
<tr>
<td style="width: 100px">
<img src="http://www.google.com/intl/en_ALL/images/logo.gif" onClick="ShowDynamicDialog('radWindow', 'http://www.google.com','Google', '400','400', false, false, alertMe, Telerik.Web.UI.WindowBehaviors.Minimize + Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Close);" alt=""/></td>
</tr>
<tr>
<td style="width: 100px">
<img src="http://i.cdn.turner.com/cnn/.element/img/2.0/global/nav/header/header_cnn_com_logo.gif" onClick="ShowDynamicDialog('radWindow', 'http://www.craigslist.org/','CraisgList', '400','400', false, false, alertMe1, Telerik.Web.UI.WindowBehaviors.Close + Telerik.Web.UI.WindowBehaviors.Minimize + Telerik.Web.UI.WindowBehaviors.Maximize + Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Resize);" alt=""/></td>
</tr>
</table>
<telerik:RadDockZone Orientation="horizontal" style="position:absolute; left:0px;top:93%;" ID="RadDockZone1" runat="server" Width="100%" Height="50px" Skin="Black">
</telerik:RadDockZone>
</div>
</form>
</body>
Thank you for bringing this problem to our attention. I forwarded it to our dev team and once I have more info on it, I will post here.
Sincerely yours,
Georgi Tunev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
This is the list with the skins with problems:
- Outlook
- Office2007
- Black
- Inox
- Mac
- Vista
- Web20
Thanks in advance.
This problem was fixed in the latest builds, but currently there is a problem with the MinimizeZone functionality that will be fixed in Q1 2009 SP1. Once SP1 is out, you should not experience this problem anymore.
Greetings,
Georgi Tunev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
I fix the problem making my own customize skin, I use a model from Default skin and I put the some colors from Outlook skin, and this work!, but only few features must be write on the css because if you put everything from Outlook skin, it fail, I dont know yet what is the line code problem.
sorry for english.