API for interacting with SharePoint from .NET code deployed to the server.

learn more… | top users | synonyms

0
votes
0answers
67 views

Save MasterPage to file system is not bringing Webpart data

I am saving some masterpages to the file systems in some build scripts to automate the process of building deployment packages. This is what I am using to save the masterpages and layouts: using ...
0
votes
1answer
2k views

GridView control - paging with linq. Where is objectDataSource?

I have visual web part with custom logic which retrieves me strongly typed list (not SPList -> .NET list object) which than I bind to gridview which has paging enabled. That works fine. Problem is: ...
0
votes
1answer
122 views

Proper way to retrieve list data asynchronously?

I have done this in the past using jQuery's ajax function and the SharePoint web services, but I'm curious if it is considered a better practice to use the Javascript Object Model? Also, is it secure ...
0
votes
1answer
259 views

RefinementWebPart - UseDefaultConfiguration property

I'm trying to create a filter dynamically through code, and for that I need to set the property UseDefaultConfiguration to false. However, just this simple thing below causes the webpart to "hang" on ...
0
votes
2answers
324 views

Sharepoint 2007 Current User ObjectModel

I'm trying to use the object model of Sharepoint 2007 to make some changes over a list and read users and groups web settings... For that I developed a Web Service (WCF) that is stored in the same ...
-1
votes
1answer
301 views

Adding items in server object-model

How to add a new item to SharePoint list in server object-model using C#. This is my code and I want to add items using textboxes SPWeb web = SPContext.Current.Web; ...
-1
votes
1answer
40 views

Common XML file for a SharePoint farm enviroment

We have create a object model DLL and display some result on based upon XML file stored on physical disk on dev box its working fine. Issue with our production enviroment is that we have four server ...