Searching Feature Layer By its Attribute
Here's the screenshot 'coz I'm not good at explaining. A pop up will show if the feature layer is found, it is also selected. Here's the link for displaying Popups. Here's the code below for reference: Supposed your Vector Layer name is "layer_agao" and your SelectFeature Control is "selectControl".