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

Radcombobox categories List

3 Answers 113 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Prathap Narravula
Top achievements
Rank 1
Prathap Narravula asked on 22 Sep 2010, 01:36 PM

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


               

3 Answers, 1 is accepted

Sort by
0
Cori
Top achievements
Rank 2
answered on 22 Sep 2010, 02:37 PM
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.
0
Prathap Narravula
Top achievements
Rank 1
answered on 22 Sep 2010, 02:47 PM

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
0
Cori
Top achievements
Rank 2
answered on 23 Sep 2010, 02:11 PM
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.
Tags
ComboBox
Asked by
Prathap Narravula
Top achievements
Rank 1
Answers by
Cori
Top achievements
Rank 2
Prathap Narravula
Top achievements
Rank 1
Share this question
or