我有一个带有用户控件的 aspx 页面。一个 ext:Window 被放置在用户控件中
<ext:Window Hidden="true" AutoScroll="false" Closable="true"
HideParent="true" Modal="true" Resizable="false" Header="true" runat="server" ID="tswindow"
我想使用 javascript 调用来显示这个窗口。
var window = Ext.getCmp('<%= tswindow.ClientID %>');
window.show();
我收到以下错误
未捕获的类型错误:对象 [object DOMWindow] 没有方法“显示”