Apr 03, 2013, 11:09 AM
[CLOSED] Loading External Page in Ext.Window is not working
Hi Ext.Net Team,
I have a requirement to load the another asp page from ext.net page as child page (like javascript - showmodaldialog). i have tried with the following code but its not working. its opening a blank window.
ASPX Page:
Kindly do the needful.
I have a requirement to load the another asp page from ext.net page as child page (like javascript - showmodaldialog). i have tried with the following code but its not working. its opening a blank window.
ASPX Page:
<ext:Button ID="btnMainMenu" runat="server" Text="Main Menu" OnDirectClick="btnMainMenu_Click"
StandOut="true">
</ext:Button>
<ext:Window ID="windowOptimization" Hidden="true" runat="server" Collapsible="true"
Icon="Application" Title="Optimization Criteria" AutoRender="false" Maximizable="true"
Minimizable="false" MinHeight="550" MinWidth="800">
</ext:Window>
Code Behind Page (Inside Main Menu click event): ComponentLoader loader = new ComponentLoader();
loader.Url = "mainmenu.asp";
loader.Mode = LoadMode.Frame;
loader.LoadMask.ShowMask = true;
this.windowOptimization.Loader = loader;
this.windowOptimization.Show();
when execute the above code and clicking on "Main Menu" button, the window is opening but blank. i have tried replacing Url to http://www.ext.net but still its showing blank window.Kindly do the needful.
Last edited by Daniil; Apr 03, 2013 at 3:52 PM.
Reason: [CLOSED]