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

related ComboBoxes load on demand from web service

1 Answer 29 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Covertix
Top achievements
Rank 1
Covertix asked on 28 May 2014, 09:35 AM
Hi,

I have 2 combo-boxes, both load on demand from a web method.
initial state: I load all the items for both.

If I select a value on the first combo, I want to load again relevant values to the second combobox.
Is there anyway to call the web service method on the selectedindexchanged event of the first combo?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 28 May 2014, 12:05 PM
Hi Tzach Kaufmann,

Please try to set the WebServiceSettings Method and Path of the second RadComboBox from OnSelectedIndexChanged event of first RadComboBox as follows.

C#:
RadComboBox1.WebServiceSettings.Method = "GetProducts";
RadComboBox1.WebServiceSettings.Path = "Products.asmx";

Let me know if you have any concern.
Thanks,
Princy.
Tags
ComboBox
Asked by
Covertix
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or