D
DesignerX
I have a dynamically created composite server control.
The composite control contains a dropdownlist, a validator and a label.
I have the dropdownlist AutoPostBack set to true and have defined a handler
for the SelectedIndexChanged event.
The server control is instantiated upon every request.
It currently adds 2 items to the dropdownlist from the database.
The dropdownlist selected value is preserved across postbacks, but the event
is only fired when the 2nd item in the list is selected... I'm lost.. why
not the first?
Thanks in advance,
Stan
The composite control contains a dropdownlist, a validator and a label.
I have the dropdownlist AutoPostBack set to true and have defined a handler
for the SelectedIndexChanged event.
The server control is instantiated upon every request.
It currently adds 2 items to the dropdownlist from the database.
The dropdownlist selected value is preserved across postbacks, but the event
is only fired when the 2nd item in the list is selected... I'm lost.. why
not the first?
Thanks in advance,
Stan