Hi
I am using RadComboBox as below
I am saving Full Path in DB like
So now onload i want to set Combo and tree to that FullPath which i saved in DB.
thanks
I am using RadComboBox as below
<telerik:RadComboBox ID="RadComboBox1" runat="server" Width="250px" ShowToggleImage="True" Style="vertical-align: middle;" OnClientDropDownOpened="OnClientDropDownOpenedHandler" EmptyMessage="Choose a destination" ExpandAnimation-Type="None" CollapseAnimation-Type="None"> <ItemTemplate> <div id="div1"> <telerik:RadTreeView runat="server" ID="RadTreeView1" OnClientNodeClicking="nodeClicking" Width="100%" Height="140px"> <Nodes> </Nodes> </telerik:RadTreeView> </div> </ItemTemplate> <Items> <telerik:RadComboBoxItem Text="" /> </Items> </telerik:RadComboBox>I am saving Full Path in DB like
string Path = "" ; foreach (RadComboBoxItem myItem in RadComboBoxIn.Items) { RadTreeView myTree = (RadTreeView)myItem.FindControl("RadTreeView1"); Path = myTree.SelectedNode.FullPath; }So now onload i want to set Combo and tree to that FullPath which i saved in DB.
thanks