sharepoint

C# -SharePoint - SPGridView - Grouping

I have enabled grouping in my SPGridView. If the records in the grouped field contain "&" symbol then the group text is displayed as string encoded. For e.g. if the records in the group by column contain "Cat&Dog" then the group by text is displayed as Cat&Dog. What I need is to display is Cat&Dog not "Cat&Dog" in my GroupBy Head...

Where should I start if I have to get into SharePoint as well as ASP.NET?

I am a fairly experienced Programmer - but my field has been Lotus Notes. So i am not familiar with OOP. I want to get into Sharepoint Development and wanted to know where to start. The basic understanding that I have (after reading some of the answers to similar questions here) is that I will have to study C# and ASP.NET. What I want to...

SharePoint Calendar change

Hi I want to know if it's possible to change sharepoint calendar to work with different cultures. I want month names and day names changed, years set to a different number(like 4009, or 1009) without changing the server time, and number of days in every month changed(like first six month all 31 days, and the next 5 months all 30 days an...

How to disable part of page depending on user logged in

Hello All, Can any one help me by suggesting a good way to disable the "My site", "My Links" and "Welcome XXXXXXX" links for a publishing portal? I am trying to create a internet facing portal and want to disable them for the viewers. Thanks for the help! Grace ...

Error on updating SPPersistedObject from web part

Hi, I have written two features in SharePoint 2007. One is scoped at Site level and it basically adds a web part to the site collection where it is activated. This feature assembly is deployed under the 'bin' directory. Second is Farm scoped which is my custom SPPersistedObject and is deployed in Central Administration. The assembly i...

FBA (forms authentication) site - Export to Excel

Office Client Integration features are disabled by design on an FBA site. How would I export a list into Excel programmatically? Pointers appreciated! ...

Sharepoint Designer - Creating a simple Workflow, check status of another Workflow

I'm trying to create a simple workflow using the Sharepoint Designer. We already have one user-defined workflow, called Internal Approval. This creates a column with the same name. Basically, my workflow should perform: Conditions: if Internal Approval equals Approved and Status equals Draft //custom field I want to set, this works...

Do all of the assigned workflow tasks need to be complete in order for the workflow to continue working?

I have built a workflow in SharePoint Designer and put two "collect data from user" actions as parallel actions in the same step. Do both of the users need to complete their tasks in order for the workflow to continue to its next step? If both of them are needed, how can I build the workflow so that both users have tasks but only one o...

Deleting a Content Type in SharePoint

I'm trying to delete a content type from SharePoint, but it keeps giving me the message: "The content type FOO BAR is part of an application feature." I have deactivated the feature, retracted the solution and deleted the package from the solution store, the content type is not in use by any lists (I followed the method here), there are ...

Weird SPListItem URL when adding a new announcement

When I add a new item in a default Announcement list using the GUI the new item looks just as I would expect, showing the title of the item in the breadcrumb. However when adding the new item through the object model: SPList theList = web.Lists["announcement"]; SPListItem theitem = theList.Add(); theitem["Title"] = "this is the title"...

SharePoint lookup column across site-collection boundary

The basic situation is that I have a list of company contacts that exist in one site that I would like to share. The contacts are referenced from a list within that site, and I would also like to be able to reference them from a list in another site collection. Lookup columns can only lookup values from a list within a site, but this is ...

Can we design this survey in sharepoint

Suppose we have a list of items with applicable owners Item Owner A1 O1 A2 O1 A3 O2 A4 O4 A1 O2 i.e. a many-to many mapping For each item owned by him, the owner will answer a fixed set of questions.Therefore, in the survey O1 will answer questions for A1 and A2, O2 for A3 and A1 ... Owner with no questions wil...

SharePoint (wss 3) and active directory username

I am trying to find out where sharepoint gets the usernames from. In wss 3 on the "Personal settings" page there is a field name. In some cases it is populated with the login (like domain\username), on some installations I find it to be the actual name of the user. I guess that sharepoint at some point gets the real name from active dire...

Problems adding a DelegateControl to the BlackBand.Master in MOSS 2007

I have a custom feature which adds a few controls into the AdditionalPageHead DelegateControl. This works fine on any sites which use our default.master. However the project requires the use of a publishing site which has a master page derived from BlackBand.master (which does not have the AdditionalPageHead DelegateControl included), ...

How to add controls into a SharePoint WebPart?

I was able to make a simple webpart by following what was on this website http://www.codeguru.com/csharp/.net/net_asp/webforms/article.php/c12293/ But now I would like to add controls like TextBoxes, Buttons, TreeViews ... How can I do that? The place I coded into was just a class library!! How can I use a designer and a page for coding?...

Two Webpart load usercontrol dynamically connect together.

Hi every body,in Webpart connection. I want to provider webpart load usercontrol dynamic, and then tranfer a parameter to the second webpart, and then second webpart load usercontrol of it with parameter received. How can i do that? thank you in advance. ...

Sharepoint Services 3.0 CSS not working

Sometimes the style sheet disappears when naviguating on our WSS 3.0 sites (white background on the site, no colors, no formatting, etc.). This has mainly happened with IE6 (corporate browser for the majority of our computers). The fixes were : clean up temporary internet files if it still doesn't work, upgrade to IE 7 However, this ...

How to link different WebParts pages in SharePoint

I am using some custom WebParts in SharePoint like (http://www.codeplex.com/smartpart) with some controls. I have more than one WebPart at different pages. How is it possible to link them together? For example at the button click event handler or the hyper link target what should be URL to navigate to? ...

Sharepoint date range formula

Hi, I am creating a holiday request site and need to find the best way to update users holiday entitlements when the date range includes a bank holiday. Currently when users create a new request with a [START TIME] of say 29th Aug and [End TIME] of 4 September the total number of holidays will be incorrect as it will also include the A...

Sharepoint List Column

Is it possible for the column to be set as 'single line of text' and in the calculated value portion somehow grab the value from column 1 and column 2? So the list looks like this: "col1 text here", "col2 text", "col1 text here col2 text" ...