Datasource not sets

3 posts, 0 answers
  1. Ajit
    Ajit avatar
    3 posts
    Member since:
    Aug 2012

    Posted 25 Feb 2013 Link to this post

    Hi,

    I am using the new Search component to search for nodes in a RadTreeView. (Is there a way to do this directly?)

    I'm using an ArrayList to capture all my node names, and during Page_load, I am populating this ArrayList and then setting the datasource of my search box to this list.

    // this line is in a for loop, adding elements to my arrayList
    measureSearchNodesList.Add(m.ToString());

    RadMeasuresSearchBox.DataSource = measureSearchNodesList;

    This seems like it should work based off the documentation, but any letter I type into the box returns a client side error of "Datasource not sets."

    I haven't done much with my onSearch event handler just yet, because I wanted to first ensure the search box was getting bound. Any ideas?

    Thanks,

    Ajit
  2. Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 26 Feb 2013 Link to this post

    Hello Ajit,

    I tested the described scenario but couldn't reproduce the issue. I've attached a small sample page with the markup I tested. Can you add it in an empty website and confirm whether the issue reproduces. Or if your setup is different in any way, could you specify how exactly, so that I can reproduce the problem properly.
     

    Regards,
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 26 Feb 2013 Link to this post

    Hello,

    Forgot to add the file. Here it is.
     

    All the best,
    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.
Back to Top