Nov 04, 2013, 2:38 AM
Modal Window and Viewport
Hello,
I have the same problem like this guy:http://forums.ext.net/showthread.php...w-and-form-tag
But I don't think that the key point is form tag.
I think that is not compatible with 'Viewport and 'ModalWindow'.
With 2.x and IE 9.
This bug does not exist in 1.x.
Please check it.
Code:
Toste
I have the same problem like this guy:http://forums.ext.net/showthread.php...w-and-form-tag
But I don't think that the key point is form tag.
I think that is not compatible with 'Viewport and 'ModalWindow'.
With 2.x and IE 9.
This bug does not exist in 1.x.
Please check it.
Code:
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<ext:ResourceManager ID="ResourceManager1" runat="server">
</ext:ResourceManager>
<form id="form1" runat="server">
<div>
<ext:Button ID="Button1" runat="server" Text="Show Window (Client Event)" Icon="Application"
OnClientClick="#{Window1}.show();" />
<ext:Window ID="Window1" runat="server" Title="Hello World" Icon="Application" Height="185"
Width="350" BodyStyle="background-color: #fff;" BodyPadding="5" Modal="true">
<Content>
Test <a target="_blank" href="http://www.ext.net/">Ext.NET</a> Window.
</Content>
</ext:Window>
<ext:Viewport ID="Viewport_Main" runat="server" Layout="border">
<Items>
<ext:Panel ID="Panel2" runat="server" Height="300" Title="Title" Region="Center">
<Content>
Remove this Viewport and it can work well.
</Content>
</ext:Panel>
</Items>
</ext:Viewport>
</div>
</form>
</body>
</html>
Best Regards,Toste
Last edited by Qulei; Nov 04, 2013 at 2:51 AM.