Author: keegan | Posted on: 6/6/2010 9:28:53 PM | Views : 269

Hi all,
I'm having trouble with my web app.  I have a dropdown list that is populated by a dataset (Data being extracted from DB). 
Based on the selection made by the user I call OnSelectedIndexChanged, and populated the form with the relevent info. 
The problem I am having is the first item in the list is selected by default, so if the user selects this option OnSelectedIndexChanged does not fire.
To work around this I add a default item to the dropdown list after populating it with the dataset as shown here;
jobStandardActList.Items.Insert(0,
jobStandardActList.SelectedIndex = 0;
jobStandardActList.SelectedValue =
"----Select an Item----");"";
This works fine, however if the user selects an item from the list, and then proce ...

Go to the complete details ...