Highlight and show infoTemplate at the same time how please?

Discussion created by ryannz on May 13, 2014
Latest reply on May 14, 2014 by JUihlein-esristaff
Hello everyone, I am new to this ArcGIS api, so please be patient. I am trying to create a search functionality with the popup. Something similar to this post:


I downloaded this but the code doesn't work. Not sure why. So here is what I want to achieve. I have set up the map and add featurelayer to the map. I have a search textbox and when I searched, the line is highlighted however, the infotemplate doesn't show up until I clicked on the line. How can I highlight the line and show the infoTemplate popup at the same time when I click on search button (without clicking on the map)?

If you have links that I could refer to, please share with me.