When the user navigates to a new page, this ddl\'s selected index is determined by a cookie, but if the ddl doesn\'t contain that cookie\'s value, then I\'d like it to be se
What about this:
ListItem match = ddlCustomerNumber.Items.FindByText( GetCustomerNumberCookie().ToString()); if (match == null) ddlCustomerNumber.SelectedIndex = 0; //else // match.Selected = true; // you'll probably select that cookie value