Logo for each site in site collection
I want to load different logo in each site in sa开发者_如何学编程me site collection. For now my logo tag exists in master page. Any idea ?
You can do 2 things.
- You can replace the SharePoint:SiteLogoImage with your own.
You can use Master.FindControl to find that control by doing the following
var siteLogo = (SiteLogoImage)Page.Master.FindControl("ID of control goes here");
siteLogo.LogoImageUrl = // Insert logo img url here
If you are using ASP Dot NET then we can have more than one master page, defining logo for each one. You can call you master page at run time according to your site opened!
Please would you specify Are you using ASP DOT NET or defining master page in another lange
精彩评论