1

I try to use below line to get ID, it works fine in Ext.Net V1.x but create problem with V2.X with IE10.

var f=Ext.get('<%=BtnID.ClientID%>');

as the same get function does't work with any extjs control.

Same thing happen with:

var jj = Ext.get(<%=grd.ClientID %>.getView().getHeaderCell(0).childNodes[0]);
4

1 回答 1

0

好的……在 V2.x 中,我们可以在没有 Ext.get 的情况下访问控件。喜欢;

var f=<%=BtnID.ClientID%>;
于 2013-05-21T10:54:55.860 回答