Question

Currently  using Search OOTB ,in search Box enter some text and click on search button it display result ,but after that i clear the text in search box and click on search button ,the search web part not getting refresh , how to refresh search result Web Part (OOTB)

Currently using Search OOTB ,in search Box enter some text and click on search button it display result ,but after that i clear the text in search box and click on search button ,the search web part not getting refresh , how to refresh search result Web Part (OOTB)

Was it helpful?

Solution

As all calls on the 2013 search page is done using AJAX, the real query is added to the hash part of the url, the part coming after the # character. If you want to clear all filters and the search terms, then you can add what designers call a dummy link with a # to the page, and that will reset your query.

Ref Link : http://techmikael.blogspot.in/2013/06/add-clear-filters-link-to-your-search.html

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top