Drop Down not giving proper selecteditem value

S

Steve

I have a few drop downs on a user control which are loaded on a webform. I
populate the drop downs via a datasource. Both the DataTextField &
DataValueField properties are set. When I set the DataValueField property an
incorrect SelectedItem value is returned. If i disable the DataValueField
property from being filled, I receive the proper SelectedItem value.

Any thoughts?

Steve.
 
S

Steve

I failed to note that only 1 drop down on this user control performs this
way. The other drop downs perform correctly taking the right DataValueField.

Steve.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top