471,337 Members | 1,452 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

SelectedValue for DropDownList

Hi,

I have a DropDownList, a TextBox and a Button. The DropDownList is
populated from a database and databound and has one of the items set as
the SelectedValue when it loads and seems to work fine. When I change
the selected item in the dropdown and click the button I look at the
TextBox with myTextBox.Text and get the value but
myDropDownList.SelectedValue still gives me the value that was set when
the control loaded, not the value chosen by the user. This seems very
strange. Can anyone tell me what is wrong?

Thanks,

Chandy

Jul 21 '05 #1
0 942

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by rengeek33 | last post: by
1 post views Thread by clickon | last post: by
2 posts views Thread by rodchar | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.