.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

how to remove "This Site" from search dropdown box

Posted By:      Posted Date: September 27, 2010    Points: 0   Category :SharePoint
how to remove "This Site" from search dropdown box

I'm running moss 2007

View Complete Post

More Related Resource Links

Search Drop Down Box - remove "This Site:"


In our Search Drop Down box, we define search scopes that appear in the list.  (i.e. All sites, custom document libraries, business data catalogs, etc...)


However, for some reason it automatically includes an item for every site/sub-site that says "This site: <sitename>".  I don't want that in there, because when a user selects that, it will take them to the ossSearchResults.aspx page instead of our custom search center.


So how do I prevent it from adding that item to the list?





Need to remove databinding of DropdownList when another dropdown list changes


I have many controls on my form, but in particular, I have 2 dropdownlists.  1 dropdown list has 2 values, and each value controls what the second dropdownlist displays.  This is an edititemtemplate and both dropdowns have the selecteditem set via '<%# Bind("fieldname") #>' on page load.  

THe problem is, if I change the value of the first dropdown, it errors out because the second dropdwon has a bound value that is no longer acceptable. 

Can I cancel the bind of the second control, if the the first one is changed?  I would like to cancel the bind, and update the values by using a different datasource depending on the value of the first dropdown or hardcode the new values.



If Dropdown1 has a value of "A" for example Dropdown 2 Shows Values "1", "2", "3"

If Dropdown 1 has a value of "B" , Dropdown2 Shows Values "4", "5", "6".

It binds fine initially, but if I change Dropdown1 from A to B, I want Dropdown2 to show the new values, maybe with a default of "Select an Item" and not error out b/c it's attempts to bind a value of 1, 2, or 3.


Hope this makes sence, b/c I'm

Remove "I like It" , "Tags & Notes" , RecycleBin and the default search box

Hello Is it possible to remove the "I like It" and "Tags & Notes" buttons? , the default "Search this site..." box in the top? And Recycle Bin... I want to remove/hide it so we cant see it on any of our websites. Thanks in advice...

Search - How to remove a meta tag ... / custom column is not showing up in Crawled Properties after

Hi I got the following warning after I crawled a site. Info out of Crawl Log: "The content for this address was excluded by the crawler because this item was marked with a no-index meta-tag. To index this item, remove the meta-tag and recrawl." Sound easy but I don't no where I could do it. The other problem is that I try to get a custom column from a custom list showing up in the crawle properties. I am using also a custom scope with the behavior "INCLUDE" ... In MOSS 2007 it was a lot simpler ;-) Thanks Regards MIA    

Search Scopes - new display group always shows "This site:"


Hello all,

I have created a new scope (Scope A) and everythind works ok. Then I wanted to create a search page (my search page with a search box and search core results) to show only the results from the created scope.

I created a new search display group (Display Group B) and assigned the "Scope A", configured the search box to display the "Display Group B" hidding the scopes drop down list and it didnt work as I wanted as it displayed all the results by default.~

How can I remove the "This site" from my display group, keeping only one scope as the default one?

Thanks for all the help

Best Regards,

André Cunha




MOSS 2010: how to move the "Search this site..." box to above the Nav Bar instead of on it

Am a novice, but can get around Sharepoint Designer. In MOSS 2010, how do I move the "Search this site..." box to above the Nav Bar instead of on it?

MOSS 2007 Search - All Sites vs. This Site


Environment - MOSS 2007 Enterprise SP 2

I noticed that the search bar in SharePoint defaults to "All Sites".  I have a dropdown arrow where I can change it to "This Site" which is relative to whatever site I am on.  How can I configure the search to default to "This Site" instead of "All Sites"?

Search This Site: Returns no results.



I am in the process of implementing MOSS 2007 and we have 2 site collections.   When we get to either site there are 2 search option This Site:  and All Sites.   All sites returns all the results but when search This Site I get no results.     We removed the People Scope because we aren't implementing mysites with the first release.    



Does anyone have any suggestions.   I had Microsoft on the phone yesterday but they didn't seem to be able to help.  


Javascript code to search item in dropdown.



I want to know how to select dropdown item using javascript when user type in dropdown? 

The dropdown may be binded with a datasource or have same value list.

I have asp.net2.0 framework.

Please don't advise for using ajax.

My question is to know the way of doing this task only using JAVASCRIPT.


Please reply as soon as possible.

"Remove URLs From Search Results" is not working.

In "Remove URLs From Search Results", I enter URL 'http:\\servername/sites/<sitename>' and do OK. Per the Microsoft article the crawl rule should be created for the same and site content should be removed immediately from the search results. I can see the crawl rule getting created, but, content is not removed from the search results.

remove select a value in parameter dropdown


Hi all,

I need to remove the select a value option in report parameter: so i did this

="<Select a Report>"       NULL

="Score"                   ="[Measures].[Indicator Score]"

="Rank"                    ="[Measures].[Indicator Rank]"

="Value"                   ="[Measures].[Indicator Value]"

Default value


In BIDS i dont see the select a value parameter.
When rendered to report manager/reportviewer it shows Select a report but also shows Select a value before that...this is still there...

ie it shows
<Select a Value>
<Select a report>

In report manager I can go to properties and in the parameters section i can see a default value..

I deleted the parameters and re did them. I also created a new report and added jus these parameters but its still not work?? :(

I also deleted the reported and re-deployed also deleting the paremters an re-deploying fresh re

Sharepoint 2010 Search this site not working


I have a 6 server farm.   2 App servers for indexing and 3 Web Front ends setup to crawl as well.     I can search if I go to the sites/search pages but just doing a search on the home page using the search box on the top of the page I am getting 0 results.   Also if I search on a list/library I am getting 0 results.    Anyone have the same issue and no how to resolve.   I have over 16000 items in the index.   



Search Scope Default to "this site"


I am trying to limit the search on a SharePoint site to each individual site collection..  These sites are all on the same server.  I have found a way to do this by following the article below –



 I change the dropdownmode on the masterpage to DropDownMode = "ShowDD_DefaultContextual"  this works for all my publishing sites.

Search Scope - Default to "This Site"

I have created a root level site collection via MOSS.  I have then added a site directory with both WSS and MOSS sites created underneath the site directory.  The default search for all of these sites is "All Sites".  Is there any way to make the default search for the team sites under the site directory "This Site"?

The issue is when users search for a topic using the "All Sites" scope, the results page is at the root level and it takes them out of their team site.  They then have to navigate back to the team site. 

I am assuming that I am creating a WSS site when I use the "Team Site" template under "Create SIte" in the site collection page.  Is this correct?

What is the correct way to remove the authors and date from search results?


I'm trying to remove Authors and Date from the search results on my Search Core Results page.  I've succeded in doing so by editing the Search Core Results web part, using the XSL editor and commenting-out or removing the section that begins with <div class="srch-Metadata2">. 

Could that cause any issues moving forward?  Is that the best method to hide these attributes?  Any advice is appreciated. 

Matt H.

People search - remove My Site link URL?

Is it possible to remove the URL link to My Sites from the People Search? If so, how can this be achieved?

MS SQL Server: Search All Tables, Columns & Rows For Data or Keyword Query

If you need to search your entire database for specific data, this query will come in handy.

So when a client needs a custom report or some sort of custom development using Great Plains, most of the time I will have to track down the data in the system by running this query and find the table(s) it is in.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend