Hi,
I populated data into the dropdownlist during pageload event and selected an item.Then at the when I click at Delete button, it didn't delete the selected item but instead it always delete the first record of the dataset.
When debug, I realized that the dropdownlist was populated again when I click the Delete button.No wonder it's always picking the 1st record.
But if I only populate it with a Load button instead of at PageLoad, it's ok.
I would prefer if it's populated during PageLoad.
Would appreciate if anyone there can help.
Thanks!
I populated data into the dropdownlist during pageload event and selected an item.Then at the when I click at Delete button, it didn't delete the selected item but instead it always delete the first record of the dataset.
When debug, I realized that the dropdownlist was populated again when I click the Delete button.No wonder it's always picking the 1st record.
But if I only populate it with a Load button instead of at PageLoad, it's ok.
I would prefer if it's populated during PageLoad.
Would appreciate if anyone there can help.
Thanks!