Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Set Parameter as DropDownList's SelectedValue

$
0
0

Hi guys, I am passing a parameter via URL and I want it to be the SelectedValue of my DropDownList.

I tried:

string container = Request.QueryString["container"];

CONTAINER_NUMBER_DROPDOWN.Items.FindByText(container).Selected = true;

But it doesn't work.. any help??


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>