javascript - How to get Id in ext.net, Code line return null (extjs)? -


i try use below line id, works fine in ext.net v1.x create problem v2.x ie10.

var f=ext.get('<%=btnid.clientid%>'); 

as same function does't work extjs control.

same thing happen with:

var jj = ext.get(<%=grd.clientid %>.getview().getheadercell(0).childnodes[0]); 

ok ... in v2.x, can access controls without ext.get. like;

var f=<%=btnid.clientid%>; 

Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -