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

[Solved] Trying to Recreate the ComboBox Template with My Data. How to structure?

1 Answer 150 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Fred
Top achievements
Rank 1
Fred asked on 23 Feb 2010, 05:28 PM

I'm having problems re-creating this demo of the ComboBox Template: http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/templates/defaultcs.aspx

I've copied the pages on to my test site but I'm trying to re-create it with my own data and with out a "TreeView" in the second RadComboBox.  I've even tried with it.  I don't know if my db tables are not right, as I'm not sure how yours are created but it seems straightforward.   The closet I can get, is Combo1 populating and Combo2 shows nothing, unless I remove the tree view then I get just get "datarows"

Ideally I wouldn't want the combo2 to be hierarchical.

Also, how and when does the second combo ever databind? 

My Tables I'm trying to use:

Table State: (This would populate Combo 1, Value/Text)
StateID Abbreviation
1 FL
2 NY
3 CA



This table has "CreditTypes" that are assigned to different states.
Not sure if I bind Combo 2 to table StateCreditType or CreditType, I think StateCreditType but either way can't get it working or where to put the values in the front-end.  

Table StateCreditType:
StateCreditTypeID StateID CreditTypeID CreditTypeName
1 1 2 Bravo
2 1 3 Charlie
3 2 1 Alpha
4 2 3 Charlie


Table CreditType:
CreditTypeID CreditTypeName
1 Alpha
2 Bravo
3 Charlie
4 Delta


Any help or thoughts?

1 Answer, 1 is accepted

Sort by
0
Fred
Top achievements
Rank 1
answered on 24 Feb 2010, 11:43 PM
I finally got what I wanted working, so need no need to worry about this question, would delete it if I could.


Tags
ComboBox
Asked by
Fred
Top achievements
Rank 1
Answers by
Fred
Top achievements
Rank 1
Share this question
or