Static WebPart in Master Page – yes you can!

by Oscar 16. September 2009 14:22

If you have a .NET background, you are bound to have many questions as to how things can be done on SharePoint.  Given the fact that SharePoint 2007 is written on top of .NET 2.0, anything and almost everything you can think of, can be accomplished using the .NET web app typical techniques.

Recently, I ran into a scenario where my client had completely scratched the “look n feel” of SharePoint.  One of the requirements was to have a custom navigation WebPart available on all pages.  What to do?

Well, I added the custom WebPart to the Master Page!  Easy!


FIGURE 1 – declare the custom WebPart DLL on Master Page

image

 

FIGURE 2 – Code on the Master Page that places the custom WebPart

 

image

Tags:

MOSS 2007 | WSS 3.0

Comments

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About Oscar

Oscar Medina - SharePoint Solutions Architect

I am a SharePoint Solutions Architect and Managing Partner at SharePointAce Consulting Group, LLC.  I have over 13 years of software development experience. 

Previously a Consultant at Microsoft Consulting Services (MCS) North West Region with focus on the SharePoint Products and Technologies Platform.  I have been involved with SharePoint since it's first version (SharePoint 2001) and have grown more gray hair providing solutions ever since :)

Author of the CQWP – Recurring Calendar Events at http://cqwprce.codeplex.com

 

Follow SharePointAce on Twitter! Follow me on Twitter.


Contributor to the book:

 

Occasional Speaker at SharePoint Saturday - SharePoint Saturday

RecentComments

Comment RSS