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
If the function return Nothing, you can try this below
if (ddlCustomerNumber.Items.FindByText( GetCustomerNumberCookie().ToString()) != Nothing) { ... }