Category Archives: Sharepoint 2007

Little sharepoint delegate control hint


    for them peepz out there whore really want to customize the Sharepoint master pages / site definitions with delegate controls   in one of my other posts i said there where like a few sharepoint delegates ( see … Continue reading

Posted in Sharepoint 2007 | Leave a comment

Sharepoint webpart property sample


showing a sample of a webpart property used in sharepoint   using System.Web.UI.WebControls.WebParts; using Microsoft.SharePoint.WebPartPages; using System.ComponentModel;   private const string str_webpart_category = "My webpart settings"; private string _str_property = string.Empty;   [WebBrowsable(true), Category(str_webpart_category), DefaultValue(""), WebPartStorage(Storage.Shared), FriendlyName("Property name:"), Description("Description of this … Continue reading

Posted in Sharepoint 2007 | Leave a comment

Get sharepoint list template name by sharepoint list template internal name


i was looking for the listtemplates, but my sharepoint was in dutch so i could not use the listtemplates displayname, i had to get the displayname by internal name before i could use that template   public static string GetListTemplateNameByListTemplateInternalName(string … Continue reading

Posted in Sharepoint 2007 | Leave a comment

Get/Show all sharepoint list templates


  this will show all the sharepoint list templates it will show the displayname in any language and the internalname is the english origenal name.   //using Microsoft.Sharepoint public static void ShowAllListTemplates() {      try      {           foreach (SPListTemplate … Continue reading

Posted in Sharepoint 2007 | Leave a comment

Add object to sharepoint list


  before i made the function that could take an object and convert it into a SP list now i made this function to fill that list with the same object based on its properties   public static void AddObjectToSPList(object … Continue reading

Posted in Sharepoint 2007 | Leave a comment

How to show/get all the fields of the current file


  this will return a string containing all SPfile fields it will show the Displayname of the field and the internalname   public static string ShowCurrentFileFields() {      StringBuilder sb = new StringBuilder();      SPFile file = SPContext.Current.File;      if … Continue reading

Posted in Sharepoint 2007 | Leave a comment

Sharepoint delegate controls


The out-of-the-box default.master defines these delegate controls for you to override:   AdditionalPageHead GlobalSiteLink0 GlobalSiteLink1 GlobalSiteLink2 SmallSearchInputBox TopNavigationDataSource PublishingConsole QuickLaunchDataSource Of these, only the AdditionalPageHead is set to allow multiple controls. Notice that PublishingConsole is defined, which is true even … Continue reading

Posted in Sharepoint 2007 | Leave a comment

Create sharepoint list from object properties


Create Sharepoint 2007 list from object properties using reflection   ive been playin arround with reflection, and while playin with i thought let me try to make a simple class that can take an object and make a sharepoint list … Continue reading

Posted in Sharepoint 2007 | Leave a comment

MCTS Exam Passed score 982


    Passed my MCTS examn for MOSS 2007 score: 982      

Posted in Sharepoint 2007 | Leave a comment