Home All Groups Group Topic Archive Search About

Changing selected index of dropdown is not reflected when posted back?

Author
31 Jan 2006 7:18 PM
Ur Pal Al
Hi all,
Using .Net Framework 1.1 (with latest patch), I have a page with your
typical DropDownList control.  There is logic that causes the selected
value (or selected index) of the drop down to be reset or changed via
javascript.  This happens great on the page, but when the I try to
access the DDL.SelectedValue on the server, the value is always the
option that was initally set.  Even if I manually select an item prior
to the javascript "re-selecting", the selected value is the initial
value.

Any ideas?

TIA,
Alex

Author
31 Jan 2006 7:39 PM
Ur Pal Al
Im a newbie again... when the control.disabled = true.... the value
will not post back.

AddThis Social Bookmark Button