Populating one combo based on the result from another combo

Posted by: bibinthomas8484 on 10 September 2017, 11:37 am EST

  • Posted 10 September 2017, 11:37 am EST

    <p>hi,</p>
    <p>in my project we have companies and branches  in which the branches comes under companies. branch combo is needed to populate based on the value in company combo. i successfully populated company combo , then i set the property autopostback to true and in the item changed event i called the branch combo populate. i got the data source correct and i bind that successfully with the branch combo but no data is shown in the combo. program runs without errors but no result. i put both combos in ajax update panel. still no result. please give reply</p>
  • Replied 10 September 2017, 11:37 am EST

    <p>it works perfect. Thank you  especially the code helps lot</p>
  • Replied 10 September 2017, 11:37 am EST

    <p>HI C1_AbdiasM,</p>
    <p>   thanks for the reply. it loads perfect but now i got another issue. when i selected the second or any other item from combo1 the value in combo2 shows the same . if i do a refresh or a button pressing then it shoes correct value. i think it may be due to some cache memory issues. please provide me the steps to clear the cache. i configured your sample, it also shows the same.</p>
    <p>Thanks & Regards</p>
    <p>Bibin</p>
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels