1

I setup a web parts page in SP2010 with an advanced search web part on it. When the advanced search form is submitted, it sends its parameters to a custom page named results.aspx, where I have web parts to display the search results and other search-related data. That's all working fine.

What I can't get working is showing the user their query on the results page. Ideally I'd like to redisplay the advanced search web part with their search parameters filled in. When I put the advanced search web part on the page, however, it comes up with all the fields empty. Is there a way to auto-populate this web part with the search parameters on the results page? If not, is there any other way to show the user what they searched for?

0

If you posted your query to another page, the query should be in Response.QueryString right? You should be able to fetch it from there

| improve this answer | |
  • Brilliant, thanks! I sometimes forget that SharePoint is also an ASP app :P – stomcavage Mar 1 '11 at 15:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.