AutoCompleteBox on a dynamically loaded usercontrol

2 posts, 0 answers
  1. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008

    Posted 22 Feb 2013 Link to this post


    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?

  2. Bozhidar
    Bozhidar avatar
    1095 posts

    Posted 26 Feb 2013 Link to this post

    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.

    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.
  3. DevCraft R3 2016 release webinar banner
Back to Top