Archive for month: July, 2009
28 July, 2009 (08:38) | MOSS - Object Model | By: G Vijai Kumar
In my last post I have show you how to retrieve current user profile in Sharepoint 2007, before that I have also posted on how to display custom list items in SPGridView Today I am going to work on how to export SPGridView items into Excel spreadsheet in Sharepoint 2007 Most of the code I [...]
Tags: Custom Webparts, Sharepoint | 23 comments
27 July, 2009 (10:12) | MOSS - Object Model | By: G Vijai Kumar
My last post was about Contact / Feedback webpart for Sharepoint 2007 In this post I am going to show you how to retrieve current user profile and show the properties like Title, First name, Last Name etc. using Microsoft.Office.Server.UserProfiles.UserProfileManager() It is a collection of user profile objects used to access user profile data we [...]
Tags: Custom Webparts, Sharepoint | 7 comments
25 July, 2009 (16:09) | MOSS - Object Model | By: G Vijai Kumar
On 12th November, 2009 I have published the Contact / Feedback webpart solution on to Codeplex You can download the Contact / Feedback webpart from http://contact.codeplex.com/ Comments on this solution are very much appreciated Thanks for looking into this
Tags: Custom Webparts, Sharepoint | 2 comments
15 July, 2009 (09:22) | MOSS - General | By: G Vijai Kumar
In this post I am going to show how we can open a Sharepoint site in windows explorer with the help of My Network Places available in Windows operating system (generally located on desktop) The main advantage of this scenario is to copy document library files from one Sharepoint site to another very easily Steps: [...]
Tags: Sharepoint | 5 comments
14 July, 2009 (17:08) | MOSS - Object Model | By: GVK
Here is a simple SPGridView example, which displays rows from a Sharepoint Custom List. Download complete source code using System; using System.Runtime.InteropServices; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Serialization; using Microsoft.SharePoint; using Microsoft.SharePoint.WebControls; using Microsoft.SharePoint.WebPartPages; namespace FiveNumber { [Guid("e6a48f2e-8f31-4738-8ed6-6629f985956d")] public class DisplayListInSpGridView : System.Web.UI.WebControls.WebParts.WebPart { SPGridView myGridView; SPDataSource myDataSource = new SPDataSource(); protected override [...]
Tags: Custom Webparts, Sharepoint | 5 comments