Jul 23, 2011, 11:56 AM
[CLOSED] open window out of its parent
Dear all,
I want to open window its id="wMailsDaitails" out of its parent window,I have link button its id="lbtnMailTruking" when I click on this link button,should open this window,
But the problem the window open inside the parent window, so if u could please to tell me how can I do it, and thank you in advance, This is my ASPX code,
I want to open window its id="wMailsDaitails" out of its parent window,I have link button its id="lbtnMailTruking" when I click on this link button,should open this window,
But the problem the window open inside the parent window, so if u could please to tell me how can I do it, and thank you in advance, This is my ASPX code,
<ext:FormPanel ID="fpMailDetails" runat="server" Icon="Application" IDMode="Static"
Width="900" AutoHeight="true" Plain="true" Border="false" Collapsible="false"
Closable="false" BodyBorder="false" AnimateTarget="Button1">
<Item>
<ext:Toolbar ID="Toolbar1" IDMode="Static" runat="server">
<Items>
<ext:Button ID="btnAddShotcuteSende" IDMode="Static" runat="server" Icon="ArrowRotateClockwise"
ToolTip="الرد على المعاملة">
<Listeners>
<Click Fn="opneReplayPage" />
</Listeners>
</ext:Button>
<ext:ToolbarSeparator ID="tbseprarator" />
<ext:Button ID="btnPrintBarCode" IDMode="Static" runat="server" Icon="PrinterMono"
ToolTip="طباعة الباراكود">
<%-- <Listeners>
<Click Fn="saveMail" />
</Listeners>--%>
</ext:Button>
<ext:ToolbarSeparator ID="ToolbarSeparator1" />
<ext:LinkButton ID="lbtnMailTruking" runat="server" Icon="PageAttach" Text="حركة المعاملة">
<Listeners>
<Click Handler="#{wMailsDaitails}.show();" />
</Listeners>
</ext:LinkButton>
</Items>
</ext:Toolbar>
<ext:Window runat="server" IDMode="Static" ID="wMailsDaitails" Hidden="true" Height="500" Width="500">
<Items>
<ext:GridPanel
ID="gpmailMovment"
runat="server"
StoreID="stMailDeatils"
TrackMouseOver="true"
Title="حركة المعاملة"
Collapsible="true"
AnimCollapse="true"
Icon="Table"
Width="600"
Height="600">
<ColumnModel ID="ColumnModel3" runat="server">
<Columns>
<ext:Column Header="مرسل" Width="40" DataIndex="Sender" />
<ext:Column Header="المستقبل" Width="20" DataIndex="Reciver"/>
<ext:Column Header="مورد" Width="20" DataIndex="Mail_Exported" />
<ext:Column Header="رقم الوارد" Width="20" DataIndex="Mail_ExportNo" />
<ext:Column Header="مصدر" Width="20" DataIndex="Mail_Imported" />
<ext:Column Header="رقم التصدير" Width="20" DataIndex="Mail_ImportNo" />
<ext:Column Header="تاريخ القراءة" Width="20" DataIndex="Mail_ReadDate" />
</Columns>
</ColumnModel>
<View>
<ext:GridView ID="GridView1" runat="server" ForceFit="true" />
</View>
<SelectionModel>
<ext:RowSelectionModel ID="RowSelectionModel2" runat="server" />
</SelectionModel>
<Plugins>
<ext:RowExpander ID="reshowwindows" runat="server">
<Component>
<ext:Panel runat="server" Frame="true" Hidden="true" ID="wMailDetais_Inside" Header="true" Title="Mail Details">
<AutoLoad MaskMsg="asdsad" Mode="IFrame" Url="http://www.google.com" ></AutoLoad>
</ext:Panel>
</Component>
<Listeners>
<Expand Fn="showwindows" />
</Listeners>
</ext:RowExpander>
</Plugins>
</ext:GridPanel>
</Items>
</ext:Window>
</Items>
<Listeners>
<AfterRender Handler="HandelWindowSize(#{fpMailDetails});" Delay="250" />
</Listeners>
</ext:FormPanel>
Last edited by Daniil; Jul 26, 2011 at 7:54 AM.
Reason: [CLOSED]