Hi
I'm trying to build a combo box with hierarchical data inside. If you look at the picture you will see and understand better what i mean.
To build this combo I've used a RadRibbonComboBox and I've changed the generated item panel adding a label to visualize the year (2005,2006,2007,etc) and with an horiz.listbox showing the seasons(FA,HO,SP,SU). In the stack panel i've added a button in the way that the user can select the season of the related year.
I've bind the combo itemsource a collection of seasonyear group. Each seasonyeargroup contains the year related and the list of season. at this point it was easy to bind this data to the template: year to the label and the seasons to the stackpanel. when the user click on a season button the selected value should be season + year. To show the user selection i've changed the selectionboxtemplate binding a label to a viewmodel property called seasonselectedtext
at moment i have 2 issue.
1) even though the property seasonselectedtext is corrected filled i still cannot see the value in the combobox.
2) when i press a season button i would like that the combo notify the selelctionindexchange in the way that the combo would close , but is not happening.
do you guys have any idea how can i solve these issues?
please let me know if you have any questions.
thanks
gio
I'm trying to build a combo box with hierarchical data inside. If you look at the picture you will see and understand better what i mean.
To build this combo I've used a RadRibbonComboBox and I've changed the generated item panel adding a label to visualize the year (2005,2006,2007,etc) and with an horiz.listbox showing the seasons(FA,HO,SP,SU). In the stack panel i've added a button in the way that the user can select the season of the related year.
I've bind the combo itemsource a collection of seasonyear group. Each seasonyeargroup contains the year related and the list of season. at this point it was easy to bind this data to the template: year to the label and the seasons to the stackpanel. when the user click on a season button the selected value should be season + year. To show the user selection i've changed the selectionboxtemplate binding a label to a viewmodel property called seasonselectedtext
at moment i have 2 issue.
1) even though the property seasonselectedtext is corrected filled i still cannot see the value in the combobox.
2) when i press a season button i would like that the combo notify the selelctionindexchange in the way that the combo would close , but is not happening.
do you guys have any idea how can i solve these issues?
please let me know if you have any questions.
thanks
gio