Jan 10, 2014, 12:07 PM
[CLOSED] Window with fullscreen mask
Hi,
How can i show a modal window (centered within Viewport) with a "fullscreen" mask, instead of just a mask covering the Panel where the Window is placed in?
In our Application we have a more complex scenario that was working as expected with release 2.3.1 of Ext.NET. But now with Release 2.4.0 of Ext.NET the Panel/Window combination fails and the Mask is just covering the main content area instead of the whole Viewport including the navigation area.
Thanks for your help.
Best Regards,
Martin
How can i show a modal window (centered within Viewport) with a "fullscreen" mask, instead of just a mask covering the Panel where the Window is placed in?
<%@ Page Language="C#" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title>Example</title>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />
<ext:Viewport runat="server" Layout="BorderLayout">
<Items>
<ext:Panel runat="server" Region="West" Width="200" Title="Navigation" />
<ext:Panel runat="server" Region="Center" Title="Content">
<Items>
<ext:Button runat="server" Text="Show Window">
<listeners>
<Click Handler="#{Window1}.show();" />
</listeners>
</ext:Button>
<ext:Window ID="Window1" runat="server" Hidden="True" Modal="True" Title="Simple Layout" />
</Items>
</ext:Panel>
</Items>
</ext:Viewport>
</form>
</body>
</html>
This is just a simple example showing what I'm trying to achieve.In our Application we have a more complex scenario that was working as expected with release 2.3.1 of Ext.NET. But now with Release 2.4.0 of Ext.NET the Panel/Window combination fails and the Mask is just covering the main content area instead of the whole Viewport including the navigation area.
Thanks for your help.
Best Regards,
Martin
Last edited by Daniil; Jan 17, 2014 at 11:25 AM.
Reason: [CLOSED]