I'm having difficulty figuring out how to keep a drop down from repopulating after a SelectedIndexChange event, here let me show you the code.
private void Page_Load(object sender, System.EventArgs e)
PolulateProducts fills the list from a table in a db. I have a problem when the following event fires.
private void dd_products_SelectedIndexChanged_1(object sender, System.EventArgs e)
LoadProductInfo(Convert.ToInt32(dd_products.SelectedIndex.ToString() ) ); //fills a dataset
FillProductInfo(ProductDataSet); //fills fields in the form
//autopost back is TRUE
When the post back occurs, it repopulates the DDL. What is the "proper" way to handle this, I have tried a few “mickey mouse” ideas, but those caused other problems.