infragistics - 0x800a138f - JavaScript runtime error: Unable to get property 'scrollHeight' of undefined or null reference -


in 1 of our project, using infragistics 7.1 , vs2010 before. after migration of project vs2013 , infragistics 9.1 started getting below error.

get1stelementbyname: elm not found.

tag:th, name:thyear

when checked, code

function get1stelementbyname(tag, name){   if(document.all){     var elms=document.getelementsbytagname(tag);     for(e in elms) if(elms[e]&& elms[e].name==name) return elms[e];   } else {     var elms=document.getelementsbyname(name);     if(elms && elms[0]) return elms[0];   }   alert('get1stelementbyname: elm not found.\ntag:' + tag + ', name:' + name);   return null; } 

the function doesn't read tag , returns null.

and tag comes ultrawebtabs.

i'm not sure why not working after migrating infragistics 7.1 9.1. after migration missing anything. please me on this.

the code you're using 2009 , developed support browser then. since browsers have evolved , code has changed lot. ultrawebtabs control not supported infragistics since 2010. suggestion migrate latest version of infragistics asp.net, 15.1, , use new webtab control modern counterpart of ultrawebtab , supports modern browsers.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -