Hello,
I have a RadGrid with a custom edit form containing several RadComboBoxes. One of these comboboxes filters the list contained in the other two - when the user selects from a list of countries, a combobox containing a list of states/provinces is filtered to contain only valid items for that country, and the same with a list of timezones. My problem is that I cannot figure out how to get the two filtered lists to know the value of the parent combobox so that they can show the proper sub-set of values. When a user is creating a new location, the two child comboboxes should be empty until the user selects a country, but on edit the two child comboboxes should display with all the filtered values and their previously entered value already selected.
I had this working nicely with server-side data binding, but ran into issues with setting the previously entered values. So then I decided using declarative data binding would work better since it allows you to bind the data field in the .aspx file. Now I can't figure out how to filter my child data sources. The parent combobox is loading, but I don't know how to specify the parameter that should be passed to my select method in the two child datasources.
Thank you.
I have a RadGrid with a custom edit form containing several RadComboBoxes. One of these comboboxes filters the list contained in the other two - when the user selects from a list of countries, a combobox containing a list of states/provinces is filtered to contain only valid items for that country, and the same with a list of timezones. My problem is that I cannot figure out how to get the two filtered lists to know the value of the parent combobox so that they can show the proper sub-set of values. When a user is creating a new location, the two child comboboxes should be empty until the user selects a country, but on edit the two child comboboxes should display with all the filtered values and their previously entered value already selected.
I had this working nicely with server-side data binding, but ran into issues with setting the previously entered values. So then I decided using declarative data binding would work better since it allows you to bind the data field in the .aspx file. Now I can't figure out how to filter my child data sources. The parent combobox is loading, but I don't know how to specify the parameter that should be passed to my select method in the two child datasources.
Thank you.