Reputation: 1164
I want to load different logo in each site in same site collection. For now my logo tag exists in master page. Any idea ?
Upvotes: 0
Views: 526
Reputation:
You can do 2 things.
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
Upvotes: 2
Reputation: 2113
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
Upvotes: 1