Home Search Member List Faq Register Login  
Sales Questions
Re: "Target=" issue?

Thread Starter: mikeArrowTruck   Started: 10-24-2014 11:54 AM   Replies: 1
 Karamasoft Support Forums » General Discussions » Sales Questions » Re: "Target=" issue?
 Printable Version    « Previous Thread   Next Thread »
  24 Oct 2014, 11:54 AM
mikeArrowTruck is not online. Last active: 7/11/2017 10:50:32 AM mikeArrowTruck

Top 10 Posts
Joined on 10-16-2014
Posts 13
"Target=" issue?

In your forums I’ve been unsuccessful in finding a solution to an issue I’m currently efforting. I’d like to open up the search results in a separate window. Is this possible? My attempts have been:

 

<cc1:UltimateSearchInput ID="UltimateSearchInput1" runat="server" SpellIncludeDirectory="/UltimateSpellInclude/"

                                SearchOutputPage="../Screens1/SearchResults.aspx" Target="blank"> (OR Target=”_blank”)

 

AND

 

<cc1:UltimateSearchOutput ID="UltimateSearchOutput1" runat="server" Target="blank"> (OR Target=”_blank”)

                            </cc1:UltimateSearchOutput>

 

 

But with no luck. How can I affectively implement this and where?


  
  24 Oct 2014, 12:35 PM
Karamasoft is not online. Last active: 11/10/2017 3:24:14 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,818
Re: "Target=" issue?
First you need to customize your search input control to build the url on the server-side as shown in the Customize Input Controls sample at https://www.karamasoft.com/Samples.aspx?component=UltimateSearch&sample=CustomInput.

Then replace the last line:

Page.Response.Redirect(queryStr, true);

with:

Page.Response.Write("<script>window.open(queryStr, '_blank');</script>");

  
 Page 1 of 1 (2 items)
Karamasoft Support Forums » General Discussions » Sales Questions » Re: "Target=" issue?

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2018 Karamasoft LLC. All rights reserved.