I have a dll within a gridview that gets populated based on the value of a ddl external to the dataview. The display and selected item index all seem fine when selections are made, however my ddl within the gridview appears to be caching or keeping the values of the old selection, so keeps growing each time a postback occurs...
The external/independent ddl contains: "cat, dog". My internally bound ddl is now blank.
I select "cat" from my external ddl and get "brown, white" in my gridview embedded ddl. I select "brown" and get my required info.
I decide to select "dog" from the external ddl. I now get "brown, white" (from "cat" selection) as well as "dog" selections "pit, boxer"...
The list just keeps growing the more selections I make. Where do I clear this ddl? I've tried on postback, within a slew of event handlers and get nowhere... should I give up and just clear all controls on the page within postback?
Any help or explanation would be appreciated...
8/22/2022 - Mon
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!