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

Treeview in Combobox - pre selecting values has stopped working

1 Answer 37 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 30 Nov 2011, 09:51 AM
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

1 Answer, 1 is accepted

Sort by
0
Andy Green
Top achievements
Rank 2
answered on 30 Nov 2011, 04:31 PM
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
Tags
ComboBox
Asked by
Andy Green
Top achievements
Rank 2
Answers by
Andy Green
Top achievements
Rank 2
Share this question
or