I have an aspx page with a usercontrol in it . An ext:Window is placed in the user control
<ext:Window Hidden="true" AutoScroll="false" Closable="true"
HideParent="true" Modal="true" Resizable="false" Header="true" runat="server" ID="tswindow"
I want to show this window using a javascript call .
var window = Ext.getCmp('<%= tswindow.ClientID %>');
window.show();
I am getting the folowing error
Uncaught TypeError: Object [object DOMWindow] has no method 'show'
Try this may works. Define Id="my_window" in window config.Then to get the window object Ext.getCmp('my_window').show();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.