Treeview in Combobox - pre selecting values has stopped working

2 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 30 Nov 2011 Link to this post

    Hi All

    I have a RadTreeView in a Rad Combo box, when a user loads the page I pre select the values to be shown by default.
    This is the code I use:

                    txtActivityLocation.Items(0).Attributes("nodeValue") = L_ds.Tables(0).Rows(0)("Location_ID").ToString
                    txtActivityLocation.Items(0).Value = L_ds.Tables(0).Rows(0)("Location_ID").ToString
                    txtActivityLocation.Items(0).Text = L_ds.Tables(0).Rows(0)("Location").ToString

    This has stopped workiing. I'm running on 1115

    I have debugged an the code is being run with correct data,

    I have a working VM that is on 712

    Andy
  2. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 30 Nov 2011 Link to this post

    OK, I have found this.

    It is the same as I detailed on this post, but I'd missed this one place in my code.

    http://www.telerik.com/community/forums/aspnet-ajax/combobox/446305-treeview-in-combobox.aspx

    Now I cant set the Empty message text.

    Andy
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top