Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
335 Points
579 Posts
Feb 28, 2012 09:55 PM|LINK
That doesn't work. Here's my problem, I know that the value exists, I can see it if I load the page and inspect the dropdown. However, when I try to set that value it just doesn't work. Here's what I'm using.
customerInput.ClearSelection() customerInput.SelectedValue = reader("customerFk") Response.Write(reader("customerFk"))
the write outputs 86 which I do see in the dropdown as a value. however the selected item is just the very first one.
mandrews1234
Member
335 Points
579 Posts
Re: Can't set selected value of dropdown
Feb 28, 2012 09:55 PM|LINK
That doesn't work. Here's my problem, I know that the value exists, I can see it if I load the page and inspect the dropdown. However, when I try to set that value it just doesn't work. Here's what I'm using.
customerInput.ClearSelection()
customerInput.SelectedValue = reader("customerFk")
Response.Write(reader("customerFk"))
the write outputs 86 which I do see in the dropdown as a value. however the selected item is just the very first one.