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

[Solved] Cascading Dropdown when single item

1 Answer 169 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dave Hayward
Top achievements
Rank 1
Dave Hayward asked on 17 Feb 2012, 05:04 PM
The cascading dropdown list is excellent, a real time saver. I'm this feature to correlate data that varies based on business rules. On occasion, there's only a single choice for the top level of the cascade chain. This presents a problem because there's no way to actually select a value in a drop list with only one item, so the selection chain is stuck and the next droplist remains disabled. 

Can anyone suggest a solution to this situation?

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 21 Feb 2012, 05:15 PM
Hello Dave,

 
If you need to trigger the cascading chain manually, you will need to trigger "valueChange" event of the correspoding combobox. In other words if the first combobox has only one item you can trigger "valueChange" event:

$("#combobox1").trigger("valueChange");

If the problem still persist I will need a test project, which replicates the issue.

Regards,
Georgi Krustev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
ComboBox
Asked by
Dave Hayward
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or