search input box

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
11/15/2009 5:15:51 AM
Gravatar
Total Posts 9

search input box

I've added a search input box to my layout.master

<portal:SearchInput id="SearchInput2" LinkOnly="false" RenderAsListItem="false" runat="server"/>

When I search from the homepage or another page no results are returned, instead I am directed to the search page with a new input box. Typing my search in there does find pages. I've checked the logfiles but no entries show up when I search from the searchbox on my homepage.

Any ideas?

Regards,

Maarten Strobosch

11/15/2009 8:15:02 AM
Gravatar
Total Posts 18439

Re: search input box

Hi Maarten,

Change the ID to SearchInput1, otherwise the SearchResults.aspx page will not find the control when it does cross page postback. With a crosspage postback we get a reference to the page that posted and we have to find the control to get the text input, so it relies on a specific id.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.