I have a scenario like this,.
I have two opened Desktop windows (Ex: window1, Window2). when I made some changes in window2 and Closed, On close of window2 I want to reload window1.
How to reload window1 on close of Window2, Any help ASAP.
Printable View
I have a scenario like this,.
I have two opened Desktop windows (Ex: window1, Window2). when I made some changes in window2 and Closed, On close of window2 I want to reload window1.
How to reload window1 on close of Window2, Any help ASAP.
hi,
you can do like this
Code:<ext:DesktopWindow ID="winID1" runat="server" Resizable="false"
Title="win 1 title" Icon="User" BodyStyle="padding:5px;" Width="450"
PageX="100" PageY="25" AutoHeight="true">
<Items>
...
</Items>
<Listeners>
<Hide Handler="#{winID2}.reload();"/>
</Listeners>
</ext:DesktopWindow>
<ext:DesktopWindow ID="winID2" runat="server" Resizable="false"
Title="desktop win 2 title" Icon="User" BodyStyle="padding:5px;" Width="450"
PageX="100" PageY="25" AutoHeight="true">
<Items>
....
</Items>
</ext:DesktopWindow>
m trying to javascript like this it is not working
parent.ctl00_ContentPlaceHolder1_MyDeskTop.getDesk top("Win_10").reload()
Can you post some code?
IN .CS Page
-----------------------------------------------
----------------------------------------------------Code:Ext.Net.ResourceManager openwindow1 = new Ext.Net.ResourceManager();
openwindow1 = (Ext.Net.ResourceManager)this.Master.FindControl("ScriptManagerRegistration");
openwindow1.RegisterClientScriptBlock(Guid.NewGuid().ToString(), "Openprevious()");
.ASPX Page
----------------------------------------------------------
m using Desktop Look FunctionalCode:var Openprevious = function() {
parent.ctl00_ContentPlaceHolder1_MyDeskTop.getDesktop().getManager().getActive().hide();
ctl00_ContentPlaceHolder1_MyDeskTop.getDesktop().showWindow("Win_10").reload();
}