Radcombobox categories List

4 posts, 0 answers
  1. Prathap Narravula
    Prathap Narravula avatar
    23 posts
    Member since:
    Apr 2010

    Posted 22 Sep 2010 Link to this post


    Hi,

    I need to display categories list in radcombobox from the database

    It shoud display in the below manner

          ->   Items
                  -> category
                       -> subcategory
                       -> subcategory
                       -> subcategory
                ->category
                      -> subcategory
                     -> subcategory
                     -> subcategory

    Please help me

    Need urgent reply

    Regards,
    Prathap


                   
  2. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 22 Sep 2010 Link to this post

    Hello Prathap,

    The only way I see you accomplishing that is by placing a RadTreeView in the RadComboBox's ItemTemplate.

    Here is a demo showing how to do just that:

    http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/treeviewcombobox/defaultcs.aspx

    I hope that helps.
  3. Prathap Narravula
    Prathap Narravula avatar
    23 posts
    Member since:
    Apr 2010

    Posted 22 Sep 2010 Link to this post


    Dear Cori,

    Thanks for replay I seen the demo link and i need to display the combox exactly the same ,but they are manually written the categories and subcategories,
     
     i have need to display those categories and sub-categories fetching from database.

    Can u help me in this ,

    Thanks ,
    Prathap
  4. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 23 Sep 2010 Link to this post

    Refer to this demo of the RadTreeView, to get it to display the information from the database:

    http://demos.telerik.com/aspnet-ajax/treeview/examples/programming/databindings/defaultcs.aspx

    I hope that helps.
Back to Top