From javascript how to fill RadComboBox Treeview control with json data

2 posts, 0 answers
  1. shamim
    shamim avatar
    9 posts
    Member since:
    Feb 2015

    Posted 28 Mar 2015 Link to this post

    Work on vs2012 web form project.Want to fill RadComboBox  treeview control  by json data. To fill the control I use bellow
    C# syntax. 

    DataSet ds =dwdb.ExecuteDataSet("sp_getItemGroupsList");
    ItemGroups iG =new ItemGroups();        
    //find the
    treeview  RadTreeView tree =(RadTreeView)this.RadComboBox1.Items[0].FindControl("RadTreeView1");
    tree.DataSource = ds;        

    Need syntax how to fill RadComboBox by json data on client site.
  2. Peter Filipov
    Peter Filipov avatar
    1028 posts

    Posted 01 Apr 2015 Link to this post


    Use the RadDropDownTree control instead. This component is specially designed to handle such cases. My suggestion is to deserialize the JSON to an object and bind the control.

    Peter Filipov

    See What's Next in App Development. Register for TelerikNEXT.

Back to Top