Dropdownlist with autopostback="true" showing 1st item
I have two dropdownlists:- "ddl1" and "ddl2". "ddl2" is populated on selectedindexchange event of "ddl1" i.e. at runtime. "ddl1" and "ddl2" both have Autopostback="true". "ddl2" also has selectedindexchange event handled. But when I try to select an item in "ddl2" it refreshes the page and it shows the 1st item in the "ddl2". I have searched it on the internet and tried various things like putting "ddl2" in update panel, and handling prerender event of pagelifecycle, but they didn't help. Please provide some solution. It is required for my project. Please help

Madhukar KrishnaPosted Dec 31, 2016, 6:13 AM
Bikesh SrivastavaPosted Dec 31, 2016, 4:06 AM
Rajeesh MenothPosted Dec 30, 2016, 9:02 AM
Manas MohapatraPosted Dec 30, 2016, 7:42 AM
Dilip GuptaPosted Dec 30, 2016, 6:53 AM
Midhun TpPosted Dec 30, 2016, 6:27 AM
TechnetshadowPosted Dec 30, 2016, 6:14 AM
If you are binding dropdowns from codebehind then try removing binding code from aspx if any.