i have created a dropdown list that is populated from a sqlserver datasource.
i have a separate sql command which uses the dropdownlist.selected value as a parameter and returns the command value to a label.
it mostly works fine but with one problem. when the page loads, the label value is null, because it doesn't seem to treat the dropdownlist default value as a selected value. when i use the dropdownlist to select a value, this is fine and the label begins to display the expected value.
is there anyway I can make the default value when the page is loaded act like a manually selected value, so the label control never displays a null value?
View Complete Post