Apr 20, 2008, 8:36 AM
[FIXED] Window maximize behaviour
Hi,
I have found interesting behaviour behaviour of "cool:window" whne "Maximizable" propertiy is set to true.
Here is the code example:
Regards,
Jure
I have found interesting behaviour behaviour of "cool:window" whne "Maximizable" propertiy is set to true.
Here is the code example:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="CooliteTest._Default" %><%@ Register Assembly="Coolite.Web.UI" Namespace="Coolite.Web.UI" TagPrefix="cool" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body scroll="no">
<form id="form1" runat="server">
<cool:ScriptManager runat="server" ID="CoolSC" Theme="Gray"/>
<table style="width:100%; height:100%;" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<cool:Window ID="Window1" runat="server"
AutoShow="true"
Collapsible="true"
Title="My Window"
TitleCollapse="false"
Shim="true"
AutoLoad=http://www.google.com
Maximizable="true"
Minimizable="true"
AutoScroll="true"
CloseAction="Hide"
Center="False">
</cool:Window>
</td>
</tr>
<tr style="height:30px; background-color: Black;">
<td>
<asp:Menu runat="server"
ID="GlobalMenu"
BackColor="Black"
Orientation="Horizontal" >
<Items>
<asp:MenuItem Text="Menu1" />
<asp:MenuItem Text="Menu2" />
<asp:MenuItem Text="Menu3" />
<asp:MenuItem Text="Menu4" />
</Items>
</asp:Menu>
</td>
</tr>
</table>
</form>
</body>
</html>
Once maximize button is clicked the result is not quite wait is was expected. Instead window resize to container boundaries it just "minimizes" to top left corner of document. Any suggestion on this one. And of course keep up the good work.Regards,
Jure