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

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

How to fix site title navigation when using BlueGlassBand.master

Posted By:      Posted Date: October 06, 2010    Points: 0   Category :SharePoint

Can someone please help me figure out how to fix the site title navigation when using blueglassband.master?  I've already committed to using this master page (with no modifications) but I'm now realizing that the navigation title always displays the name of the site collection rather than the name of the current site.  This is really creating navigational confusion.

Can someone please tell me what needs to be modified on the blueglassband.master to regain the site navigation functionality similar to that of the default.master?


View Complete Post

More Related Resource Links

Navigation in Site.Master?


I have a site with a few pages, and I decided to have my navigation button (to go from page to page) on my site.master page so every page looks the same. Two questions:

1. is that the correct thing to do? seems to work fine, I'm just not sure if it is proper or not.

2. with the navigation/buttons being on the site.master. How can I pass an "id" from one page to another.


<asp:Button ID="Button5" runat="server" CssClass="style2" ForeColor="#000084"
                              PostBackUrl="~/Inbounds.aspx" Text="Inbounds" />

I want the postbackurl to be "~/Inbounds.aspx?id=" a value from a textbox on the page you are leaving. More or less to pass a company name or ID number from page to page, so the queries know who the "owner" is?



Master Pages: Master Your Site Design with Visual Inheritance and Page Templates


Master pages in ASP.NET 2.0 solve a problem many Web developers have been solving on their own with a variety of techniques for years - providing a single master template for an entire site. This article covers the details of master pages, discussing their usage and implementation and how they are a natural evolution of custom techniques developers are using today.

Fritz Onion

MSDN Magazine June 2004

Why do the aks master pages not get applied if the feature is not activated on the top site collecti


I installed AKS 2.0 and activated AKS feature. The problem I found was the aks master pages do not get applied if the feature is not activated on the top site collection. why is so?

example: If i activate the feature on http://<servername>/sites/<sitename> and apply the master page, I dont see any changes.

              But if i activate the same aks feature on http://<servername/ then everything started working on all sites.

              The reason i found is the CSS reference in the aks master pages.

              It reference should be given as follows:

                 for http://<servername>/sites/<sitename> ->  <link rel="stylesheet" type="text/css" href="../../Style%20Library/AKS/Aks_Band_Blueband.css"/>

                 for http://<servername>/ -><link rel="stylesheet" type="text/css" href="/Style%20Library/AKS/Aks_Band_Blueband.css"/>

So my question is, am i missing anything? am i supposed to activate the AKS feature on top level site collection at any cost? if yes, why is so? 

And after applying aks master pages, i see differnece in font sizes. Why the font size is getting changed?


Apply custom.master to "Site Settings" page?


I'm using a custom.master page, which is applied to almost all pages available to READ users.

However, I'd like to apply it to the Search, Site Settings, and View All Site Content pages.

I'm not sure where this would be applied.

Guidance much appreciated. Thanks!

Sharepoint 2007 - Wiki site - New Pages Not Inheriting Custom Master Page


I am working on a SP site (MOSS not WSS) which is heavily customised away from the OOTB layout. I need to create a Wiki site, which was going well - I've created a master page which displays the miniconsole (this was not visible with our customised layout), and made it the default master page for the site. This has been applied to the two standard pages that come with the Wiki site, however when a new page is created, it seems to inherit the default.master, rather than my custom master page - thus not showing the miniconsole.

When I have created a new page, I am able to use SharePoint Designer to attach my custom master page to it, which works perfectly, however this will not be a viable option going forward as end-users create their new wiki pages.

How can I get the new pages to inherit my master page when they are created?


Programmatically Hide Master Pages from Site Master Page Settings page?



I know there is a field you can check when you edit the properties of a Master Page in the Master Page Gallery to set a Master Page to hidden but ... can anyone think of a way to programmatically hide specific Master Pages from the Site Master Page Settings page?

Maybe this should be two questions:

  1. How do I programmatically access a Master Page in a Master Page Gallery?
  2. Is there a property that can be set that will hide the page from the Site Master Page Settings page?

Master Page And Title Tag


Hello everybody.

I am new in ASP.NET. Right now I am practising MasterPage and association of other pages with it. These is so far I have :

MasterPage :

<%@ Master Language = "C#" AutoEventWireup = "true" CodeFile = "MasterPage.master.cs" Inherits = "MasterPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns = "http://www.w3.org/1999/xhtml">
<head runat = "server">
<title visible = "false" runat = "server"></title>
<asp:ContentPlaceHolder id = "Head" runat = "server">
<link href = "StyleSheet.css" rel = "Stylesheet" type = "text/css" />

<form id = "form1" runat = "server">
<div id = "header">
<li><a href = "Default.aspx">Default</a></li>
<li><a href = "MembersProfile.aspx">Profile</a></li>

<div id = "m

Navigation settings not applied when site created from template?

Hi, I created a customized site on MOSS and disabled Quick Launch and enabled Tree View on it. But when I create new site from this template it has Quick Launch enabled and Tree View disabled. I downloaded the STP file and looked inside and in the details <Details> ... <EnableTreeView>1</EnableTreeView> <EnableQuickLaunch>0</EnableQuickLaunch> ... </Details> Does anyone have a clue why it does not work correctly? Does this work for you correctly?  

Global Navigation across Site Collections

MOSS 2007 Global Navigation across Site Collections I have couple of questions. a) Is there an easy way to share a global navigation between site collections? b) Portal has the navigation tabs (tab1..n). User doesn't have access to all the tabs, may have access to one or more tabs. Each tab represents a site collection. Is there a way to display the only tabs to which the users have access? If we can develop using SDK, please provide some hints.   Thanks,

The site master page setting currently applied to this site is invalid. Please select a new master p

I have defined a new master page and set it as default for the main site.  Any time I create a new subsite it does not apply the new master page and defaults back to the default.master.  The Site Master Page Settings shows this error. The site master page setting currently applied to this site is invalid. Please select a new master page and apply it The system master page setting currently applied to this site is invalid. Please select a new master page and apply it. Now if I select "Inherit site master page from parent of this site" and "Inherit system master page" and click ok the site will use the new master page and everything is fine.  There is only one modification to the master page that was done so I know the master page isn't invalid.  Does anyone know the answer other than recreating the new master page.

Unable to create columns in document library after applying custom master page to site

Hi, I have applied a custom master page to a site.There is a document library in it. I am unable to add columns in it or change the default view.Nothing happens when I click on OK butoon after making my changes. However the columns are created/default view is changed when I apply the default master page. Guess I am missing some TagPrefix or sharepoint control on master page.I had solved this problem earlier in this way but don't remeber it now. Can anyone help?

RenderAction failing in site.master, but works in a view

Hi, I have a master page into which I'm inserting a 'Search' partial view, which I've called 'pSearch.ascx'. I need to pass in a model to make some data available to pSearch, so I am using RenderAction from the site.master page, which then should call a [ClientActionOnly] Action on the 'Home' controller, called SearchPartial(), which in turn returns the pSearch view.Code from site.master:    <% Html.RenderAction("SearchPartial", "Home"); %>Code from HomeController.cs: (the method is virtual because I'm using T4MVC in the project)        [ChildActionOnly]        public virtual ActionResult SearchPartial()        {            return View(MVC.Curious.Views.pSearch);        }This is the error: "No route in the route table matches the supplied values."However, when I remove this line from site.master & insert the IDENTICAL RenderAction() call into one of my view pages, it works fine.I've been pulling my hair out, trying permutations of how it's called and different approaches, but can't work this one out, particularly because it works in a view page based on site.master, but not in site.master itself.Can anyone suggest why it wouldn't

SOLUTION: Renaming the Title list column globally across the site collection

So, you screwed up like I did, and modified the Title display name of the Item base content type and it has renamed ows_Title across every list in your site collection? Here's how you fix it: //WARNING //If you have come this far, be aware that this tool is a blunt axe. With it, you can cause //all sorts of mayhem and chaos in your site collection. So, to use this, you must be desperate. //or possibly dumb. Apparently, I'm just as dumb as you, because I did it. This is why I wrote //this stupid thing, so stupid people like us can go right on being stupid. //Your choice of weapon in this battle amuses me. Shall we begin? using System; using System.Collections.Generic; using System.Text; using Microsoft.SharePoint;   namespace RenameField {     class Program     {         static void Main(string[] args)         {             if (args.Length < 3)             {                 Console.WriteLine("Usage: RenameField <url-to-sitecollection> <internal-field-name> <new-fieldtitle>");               &n

Custom Site navigation using StaticSiteMapProvider

Hi. I have created a custom sitemap provider component by inheriting from StaticSiteMapProvider. As per my requirement, I have a custom list at the Root Site that stores the navigation information. In my custom provider, I implemented BuildSiteMap() in such a way that it uses my custom list to create SiteMapModes. I just followed the technique mentioned http://msdn.microsoft.com/en-us/library/system.web.staticsitemapprovider.aspx Now the issue is, I want to recreate the site map each time an item is added to my custom list (where I store navigation information). I don't want BuildSiteMap() method to be executed completely every time a page request arrives because it uses SharePoint object model to access the list data and this will affect the performance. As mentioned in the article, within BuildSitemap() method, I am checking whether site map is created already and if yes I am skipping the call to SharPoint list items. But with that approach, it looks like the site map is created with first request to the site and for all other requests, it is being served from the cache (or persistant storage). Right now I have to use IISRESET to get my site map recreated after adding an item to the List. I have following questions regarding the StaticSiteMapProvider Once created, where is the site map stored? How I can reset or clear already created site

Edit Blog site - hide the left navigation bar

Hi, We want to customize the look & frrl of a blog. I don't see a page layout gallery, only master pages. Which master page is used and how may i hide the left navigation bar?

Top navigation menu having submenu in Team site in MOSS2007

Hi, In MOSS2007, Collaboration portal site is showing sub menu on onmouseover of top navigation menu, but it's not showing in case of Team Site template. I would like to know how to achieve this. I tried to activate publishing feature on team site, but doesn't work.

Creating image based site navigation using standard sitemap

I know how to create a normal menu and change them the way i want using css, but I dont know how to use images instead of text.I want to make it look cooler using images so in order to do that, I haven't got any ideas at all :(I have seen many websites on internet like this and I dont think its a difficult thing to do for some of you here.Could you please guide me or show me the way forward ? Thanks. 
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