05 Jun 2009
11 Jun 2009
Link to this post
In advance, thanks for all the help, the forums have been incredibly useful over the span of learning how to use Sitefinity.
I'm currently using two custom user controls, header.ascx and footer.ascx, which are dragged into ContentPlaceHolders on a master page.
I have successfully indexed the site and would like to add a Search feature to the header.ascx file, so that there is a search box on each page. I already have the destination page (searchresults.aspx) set up, but the search box itself can't simply be dragged into a ContentPlaceHolder if the idea is to have it as part of a user control.
So, the simple question is, what is the <% Register / <control : tag / etc. method for adding a search box to my custom header, and how would I go about setting the critical variables (index to be used, destination page, etc.)
Or, is there a simpler option I'm overlooking?
Thanks once more for all your help.