0

spswc在我的 SharePoint 母版页中使用搜索框,我希望搜索页在执行搜索后在新窗口中打开

我正在使用的代码是:

<SPSWC:SearchBoxEx 
id="SearchBox" 
SearchResultPageURL="/sites/search/pages/results.aspx"
RegisterStyles="false"    TextBeforeDropDown=""                                                                                TextBeforeTextBox="" 
TextBoxWidth="135" tex                                    CssClass="SearchControl"                                                                             GoImageUrl="/_layouts/images/Bss.NTA.DMS/search_up.gif"
GoImageUrlRTL="/_layouts/images/Bss.NTA.DMS/search_up.gif"
GoImageActiveUrl="/_layouts/images/Bss.NTA.DMS/search_down.gif"                                      GoImageActiveUrlRTL="/_layouts/images/Bss.NTA.DMS/search_down.gif"
UseSiteDefaults="true" 
DropDownMode = "DisplayScopeDD" 
SuppressWebPartChrome="true" 
runat="server" WebPart="true" 
__WebPartId="{1A65390F-3DA0-4810-AD07-2DD771073EE3}"/>
<a runat="server" title="<%$Resources:dms, AdvanceSearch%>" class="advanced" href="/sites/search/Pages/advanced.aspx" target="_blank"><img alt="" src="/_layouts/images/Bss.NTA.DMS/button_search_advanced.gif" />
</a>
</div>

我可以在代码中修改什么以便在新页面中进行所有搜索查询?

在此先感谢,埃伦。

4

0 回答 0