3 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 25 May 2010, 09:02 AM
Hello,
You can check this code library: Load on demand TreeView in Combobox
I hope this helps.
Princy.
You can check this code library: Load on demand TreeView in Combobox
I hope this helps.
Princy.
0
Carrie
Top achievements
Rank 1
answered on 23 Nov 2010, 09:12 PM
Do you have a solution to this in VB.net instead of C#? I'm trying to load the radTreeView (inside the radComboBox) on page load from items in a database. I'm not necessarily needing to create the entire control dynamically, but rather just add nodes when the page loads. I thought maybe if I structured my aspx code like I have shown below, I would be able to access the attributes of the radTreeView by using the "radTreeProduct" ID, but I can't get the code behind to recognize the ID.
<telerik:RadComboBox ID=
"radDDLProduct"
runat=
"server"
AutoPostBack=
"true"
style=
"width:96%"
Skin=
"Default"
>
<ItemTemplate>
<telerik:RadTreeView ID=
"RadTreeProduct"
Enabled=
"true"
runat=
"server"
CausesValidation=
"false"
OnNodeClick=
"RadTreeProduct_NodeClick"
>
<Nodes>
<!-- Nodes to be generated on page load -->
</Nodes>
</telerik:RadTreeView>
</ItemTemplate>
<Items>
<telerik:RadComboBoxItem runat=
"server"
/>
</Items>
</telerik:RadComboBox>
0
Hello,
Please find the VB version in the attached .zip file.
Feel free to ask me if you have further questions.
Kind regards,
Veronica Milcheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Please find the VB version in the attached .zip file.
Feel free to ask me if you have further questions.
Kind regards,
Veronica Milcheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.