I'm using Esstential Tools for ASP.NET version 4.302.0.30 and am having a problem using the AutoCompleteTextBox in an aspx page. This page has several Ajax controls on it as well as the AutoCompleteTextBox. I don't know if the Ajax controls are causing a possible conflict with Syncfusion AutoCompleteTextBox or not.
When I enter the first character into the AutoCompleteTextBox, I receive an error saying object is null. The AutoCompleteTextBox dropdown never appears and the first entry from the dropdown list populates the AutoCompleteTextBox only after continuing past the error condition in debug mode. Outside of debug mode, the AutoCompleteTextBox is not populated with any data.
Running in debug mode, the problem is occurring when this javascript function is running the HTML DOM:
function acGetOffSetLeft(acObj)
{
var acCtrl=acObj;
var acleft=0;
while(acCtrl.tagName!="BODY")
{
acleft+=acCtrl.offsetLeft;
acCtrl=acCtrl.offsetParent;
}
return acleft;
}
The acCtrl.offsetParent sets the acCtrl field to null. This appears to occur when the while loop hits the "HTML" tagName property. It never finds the "BODY" tagName and therefore does not exit properly.
I have attached the innerhtml property value when the error occurs.
The same problem occurs in function acGetOffSetTop.
Please advise on how to resolve this error so I can use the AutoCompleteTextBox.
Thanks,
Jay Slusher
autocomplete-innerhtml.zip