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

AutoCompleteBox on a dynamically loaded usercontrol

1 Answer 34 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 2
Erik asked on 22 Feb 2013, 12:15 PM
Hello,

I have an application that loads UserControls dynamically; using LoadControl("~/...")

In the usercontrol I bind the AutoCompleteBox to a IList (List(Of Long, String))
I have done this in the load and the Init.
When I run it, the AutoComplete is not working... (Probably because the datasource is reset every time?)
I do see a list, and can select something, but the logical first item is not selected, always the first.
The demo however does show this to be a solution (binding in load)

Any idea how I can bind it correct?

Erik

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 26 Feb 2013, 01:04 PM
Hello Erik,

I tested the described scenario but unfortunately I wasn't able to reproduce the issue. The AutoCompleteBox seemed to work fine on my end. Could you take a look at the attached sample pages and see if they work on your end. 

If your setup is different in any way that makes the difference between the control working and not working, please specify what I need to change in order to reproduce the problem.
 

Greetings,
Bozhidar
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
AutoCompleteBox
Asked by
Erik
Top achievements
Rank 2
Answers by
Bozhidar
Telerik team
Share this question
or