Tagged Questions

I have been using the method described here by attempting to use reflection to turn on the Rating Settings of a list. However, I get the following error:
Exception Message: exception has been thrown ...

I have a cascaded drop-down on my page that is being populated from SPList on site. Now Based on this drop-down's Selection i want to show or hide Div containing 4 more controls. If any one can help ...

I have a document library which has 18000 items. When I go to the All Site Contents page, I see 18000 items against the document library name.
But when I query the items in C# as
foreach(SPListItem ...

I am retrieving all items from list containing around 4000 items.
But it seems to take longer time to fetch all items which is ~15 to ~22 seconds.
Is there any best way to fetch all items from list in ...

I am trying to create a list which deletes all the listitems and then adds site collection and subsite details to the list. How ever i am getting save conflict error when i execute this code in DEV. ...

I am querying for list items in a timer job.
The list has moderation enabled. It has various list items that have different approval status (e.g. scheduled, approved etc.).
However the query always ...

Im sorry for bothering you again but when I tried the same formula but different column names it did not work...
Column names for example are:
F1 Makeup (26),F1 bridge tap (26),F2 bridge tap (26),F1 ...

I have a conditional statement that uses named columns of a list item.
Eg. Stage 1, Stage 2, Stage 3..
Is there a way that I can iterate through them to satisfy the problem I'm having when stating the ...

I am developing a SharePoint 2013 Events Calendar Visual Web Part which relies on a SharePoint list to display event data asynchronously. I've tested the concept in a raw ASP.NET environment and it ...

I might be missing something obvious, but I am trying to enable version history on a regular task list programmatically. It is definitely possible from the UI, but how can this be achieved in code? I ...

I am import a SharePoint list to Excel. I edit this list in Excel and would like update this modification to my SharePoint source list.
I would like do with vb.net.
My code snippet is base one method ...

As the title explains, I am trying to remove the default Web Parts that are associated to list items and replace them with my own custom web parts.
Here is what I've attempted so far:
SPList list = ...

Assumptions: I have a custom SharePoint list with 2 items in it.
In one case i delete one item from the list manually and check the recycle bin,here i find the deleted item.
Now in the second case i ...

I have a custom central admin list and would like to insert it to a custom application page in a way that would make it look exactly like it does if you access the list via its URL - i.e. it should ...