related ComboBoxes load on demand from web service

2 posts, 0 answers
  1. Covertix
    Covertix avatar
    96 posts
    Member since:
    Aug 2008

    Posted 28 May 2014 Link to this post

    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?

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 28 May 2014 in reply to Covertix Link to this post

    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.
Back to Top