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

Load 2nd combo when selected value for 1st combo is set

1 Answer 40 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Balaji
Top achievements
Rank 1
Balaji asked on 24 Aug 2011, 06:22 AM
Hi,

I have tried implementing multiple comboboxes (2 comboboxes) from example
http://mono.telerik.com/Combobox/Examples/Functionality/MultipleComboBoxes/DefaultCS.aspx

Its working fine. Now If I set the selected value like

FirstcomboBox.SelectedValue = somevalue

for 1st combobox (on page load) I want to fire event to load the 2nd combobox currently which is not working. Do I need to set any property for this?


Thanks,
Balaji

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 24 Aug 2011, 09:54 AM
Hello,

If you set the selectedvalue manually then you also have to bind second combo ourself.

FirstcomboBox.SelectedValue = somevalue;
LoadSecondComboBox(somevalue);   // pass first combo's selected value  here

let me know if any concern.


Thanks,
Jayesh Goyani
Tags
ComboBox
Asked by
Balaji
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or