I have a search field and button on my master page. When a user types in a search term, and hits submit, I would like the search results to display in a content page.
What would be the best, most logical way of handling this?
I thought of using FindControl on my content page to find the button, and then somehow figure out if it had been clicked or not…but my logic quickly spiraled downhill.
Any thoughts?
Thanks!
I handle this in a really simple way:
When the button is clicked I simply set the information I want to search for into a session variable and then redirect the page to my search page, which takes that value