Forum Themes:
Welcome !

 Search Result open in the same window

Author Message
Samuel

  • Total Posts : 11786
  • Reward points : 168350
  • Joined: May 23 '01
  • Status: offline
Search Result open in the same window Thu. Aug 7, '08 9:31 AM (permalink)
Normally our software opens a link (link to forum or message) in the same window (no popup). However the search result listing page behaves a little differently in that it opens up a new window for results because "search" requires moreCPU and RAM and you don't really want to have to do search over andover again.

If you do not want this behavior, you can change the Search Result Listing template:

~/App_Templates/Classic/UC/SearchResult/ItemTemplate.ascx.vb


You will see a function with the following name:

Function ShowSubject

You should see the linkTemplate variable with a target=""_blank"" . Remove it and the page will open results in the same window.
ASPPlayground.NET
~ see our Version 4 plans here

 
#1
    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9