Nov 11, 2010, 7:47 AM
[CLOSED] Window position relative
Window1 must be positioned with respect to Button1.
is it possible?
is it possible?
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Basic Hello World Window - Ext.NET Examples</title>
<link href="../../../../resources/css/examples.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="Form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<h1>Simple Ext.NET Window Sample</h1>
<p>The following example demonstrates how to configure a new Window Component and "show" the Window if closed.</p>
<ext:Button ID="Button1" runat="server" Text="Show Window (Client Event)" Icon="Application">
<Listeners>
<Click Handler="#{Window1}.show();" />
</Listeners>
</ext:Button>
<br />
<ext:Window
ID="Window1"
runat="server"
Title="Hello World!"
Icon="Application"
Height="185px"
Width="350px"
BodyStyle="background-color: #fff;"
Padding="5"
Collapsible="true"
Modal="true">
<Content>
This is my first <a target="_blank" href="http://www.ext.net/"> Ext.Net</a> Window.
</Content>
</ext:Window>
</form>
</body>
</html>
Last edited by Daniil; Nov 12, 2010 at 7:54 AM.
Reason: [CLOSED]