We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

AutoCompleteTextBox

Thread ID:

Created:

Updated:

Platform:

Replies:

52876 Dec 5,2006 10:53 AM Dec 6,2006 07:36 PM ASP.NET Web Forms (Classic) 2
loading
Tags: Tools
Jay slusher Clerk of the Superior Court of Maricop
Asked On December 5, 2006 10:53 AM

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

Administrator [Syncfusion]
Replied On December 5, 2006 09:43 PM

Hi Jay,

We are looking into this and will update you as soon as possible.

Sorry for the inconvenience caused.

Regards,
Sureshsekaran.

Administrator [Syncfusion]
Replied On December 6, 2006 07:36 PM

Hi Jay,

AutoCompleteTextBox control works fine with MasterPage.Could you please provide us the aspx page or a sample that will help us to trace out the issue.
Thanks for your patience.

Regards,
Sureshsekaran.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;