W
Wee Bubba
i have a dropdownlist consisting of titles (Mr,Mrs,etc.). I use the
text property to store a title and the value properties to store a
default gender code. e.g.
Title Default Gender
---- ----------------
Capt M
Col M
Dr U
Mr M
Mrs F
Ms F
lets say i choose 'Mr'. when i do a postback the dropdownlist reverts
back to 'Capt'. My guess is that it has stored the selectedvalue of
'M' in the ViewState so it restores the first value of M it comes
across in the list after postback! Which is Capt. Wrong! How do I get
around this please?
text property to store a title and the value properties to store a
default gender code. e.g.
Title Default Gender
---- ----------------
Capt M
Col M
Dr U
Mr M
Mrs F
Ms F
lets say i choose 'Mr'. when i do a postback the dropdownlist reverts
back to 'Capt'. My guess is that it has stored the selectedvalue of
'M' in the ViewState so it restores the first value of M it comes
across in the list after postback! Which is Capt. Wrong! How do I get
around this please?