Dilip, can you clarify a little bit more on what you are trying to do?
If you are trying to implement an AJAX based search (where it goes to a page that then gets the resulting search results in an AJAX call), i would recommend you look at the Webpart to API Converter on the Marketplace, with it you can create your HTML in a repeater and the Webpart to API Converter will clear everything except that content.
I use it for getting HTML details through an AJAX call on some of my tools.