Jul 25, 2009, 8:39 PM
error on opening a window
Hi,
I open a webpage inside a window then close it. When i try to open it again, I get this error message ("this.west.el" is null or not an object). Do you know why?
Kamal
I open a webpage inside a window then close it. When i try to open it again, I get this error message ("this.west.el" is null or not an object). Do you know why?
protected void cmdshowexample1_Click(object sender, Coolite.Ext.Web.AjaxEventArgs e)
{
this.Windowexample.LoadContent("example.aspx");
this.Windowexample.Show();
}
protected void cmdcloseExample_Click(object sender, Coolite.Ext.Web.AjaxEventArgs e)
{
this.Windowexample.Close();
}
<ext:Window ID="Windowexample" runat="server" Collapsible="true" Icon="Application" Title="The National Buying Survey"
Maximizable="true" Minimizable="false" Closable="false" Modal="true" CloseAction="Hide" MinHeight="550" MinWidth="800" ShowOnLoad="false">
<AutoLoad Mode="IFrame"></AutoLoad>
<TopBar>
<ext:Toolbar ID="Toolbar1" runat="server">
<Items>
<ext:ToolbarButton ID="cmdcloseExample" runat="server" Text="Close" Icon="DoorOut">
<AjaxEvents>
<Click OnEvent="cmdcloseExample_Click">
<EventMask ShowMask="true" Msg="Please wait..." />
</Click>
</AjaxEvents>
</ext:ToolbarButton>
</Items>
</ext:Toolbar>
</TopBar>
</ext:Window>
Thanks for your help.Kamal