ModalPopUp extender issue

Hi, I have a popup window of course through the use of modalpopup extender that searches a record. In the popup window, I have two buttons - a search and a close button. Whenever, I click on the search buttton, the popup window immediately disappear. How am be able to make my modal popup window to stay visible even I click on the search button?

because the modalpopup window always disappear whenever I click on the search button. How am be able to search and view records if my modalpopup window always close whenever I click on the search button. Can anyone of you guys help me please.

i found a tutorial but I cannot follow the steps stated. Here’s the site…http://weblogs.asp.net/rajbk/archive/2009/05/07/using-the-modal-popup-extender-to-build-a-popup-search-interface.aspx