MOSS BLOG
SPListItem.Update() throws error Operation is not valid due to the current state of the object.
10/10/2010 13:11
MOSS: SPListItem.Update() throws error Operation is not valid due to the current state of the object.
Problem:
When running SPListItem.Update commands inside SPSecurity.RunWithElevatedPrivileges block you get error: Operation is not valid due to the current state of the object.
Thoughts:
I...
>>
———
Sharepoint Event Recevies from Scratch
08/10/2010 12:55
Develop and deploy a SharePoint Event Receiver from the scratch
There are many information peaces on the internet how to build a decent working event receiver in SharePoint – mainly good, but still, only peaces. I’ll try to present here a complete and quick “how to” guide - from making...
>>
———
Creating a SharePoint Site Page With Code-Behind Using Visual Studio 2010
06/10/2010 14:39
Source:- https://blogs.msdn.com/b/kaevans/archive/2010/06/28/creating-a-sharepoint-site-page-with-code-behind-using-visual-studio-2010.aspx
The below code is copied from MSDN blog, Thanks for Krik Evans for creating this original...
>>
———
Code blocks are not allowed in this file
06/10/2010 14:26
Parser Error Message: Code blocks are not allowed in this file.
Recieved this error when trying to add some code blocks into my sharepoint site, obviously Asp.NET pages can use code blocks so it had to be SharePoint blocking somehow.
Turns out SharePoint disables the ability to create server-side...
>>
———