This is a migrated thread and some comments may be shown as answers.

[Solved] AutocompleteExtender. Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method

5 Answers 219 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
igor
Top achievements
Rank 1
igor asked on 16 Feb 2009, 01:53 PM
Hello,

I have just started with teleriks. I am using the RadControls_for_ASP.NET_AJAX_2008_3_1314_trial. I am also working with VS2005 and .NET2.0

I have a normal Texbox with one AutoCompleteExtender and it works fine when the page is first loaded. But afterwards every time the page makes a postback or i close the browser, I get the next message:

"Microsoft JScript runtime error: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method"

the structure of the web site is like this:
Masterpage:
    scriptmanager
    Telerik Ajaxmanager
    RadFromDecorator
    RadMenu
    RadCombox
    Texbox and AutoCompleteExtender.
    Contents..
In the AjaxManager i make no reference to the texbox or to the autoCompleteExtender.

If i delete the AutoCompleteExtender everything works. It is there any example of this ajax tool with master-pages and Ajaxmanager?

Thanks!

5 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 19 Feb 2009, 08:31 AM
Hi igor,

Based on this information, it is very hard to pinpoint the cause of the problem. If the issue persists, you can open a formal support ticket, and send us a small implementation, demonstrating the setup and hand, and the unwanted behavior. We will review it locally, and get back to you with additional information.

Regards,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
igor
Top achievements
Rank 1
answered on 19 Feb 2009, 09:51 AM
Hello,

Thank you for answering. I have just created the formal support ticket with the small example project. When i get the answer i will post it here just in case anyone else has the same issue.

Regards,
Igor
0
TB
Top achievements
Rank 1
answered on 05 Nov 2009, 08:36 PM
Hi,

I got this same error when I implement the autocompleteExtender inside a RADAjaxPanel.  Were you able to resolve this?

TB
0
Andreas Ladis
Top achievements
Rank 1
answered on 27 Nov 2009, 12:28 PM

Hi,

I am facing the same problem when i use the autocomplete extender and a textbox.

Is there a solution?

Regards,
Eleni
0
Georgi Tunev
Telerik team
answered on 30 Nov 2009, 11:18 AM
Hello Andreas,

This forum thread is quite old so I am not sure what exactly is the problem that you experience. If you are using a recent version of the controls and the problem is the same as the one described in this forum thread, please send us a sample project in a support ticket so we could investigate further.
So far, the only problem that we discovered in a scenario where RadFormDecorator is present on a page with autocomplete extender on it is the size of the dropdown with the suggested words. This issue is present in IE only and can be fixed with the following CSS hack:

#AutoCompleteEx_completionListElem
{
    margin-left: 4px\9 !important;
    margin-top: 8px\9 !important;
}
 
#AutoCompleteEx_completionListElem li
{
    font-size: 12px;
}


Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
igor
Top achievements
Rank 1
Answers by
Yavor
Telerik team
igor
Top achievements
Rank 1
TB
Top achievements
Rank 1
Andreas Ladis
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or