Monthly Archives: April 2012

SPListItem.Workflows also returns completed workflows

I needed to retrieve all the running workflows for a list item. I tried SPListItem.Workflows and according to MSDN this should give me what I need. It however doesn’t – I found that it also includes completed workflow instances. I … Continue reading

Posted in SharePoint 2010, Workflow | Leave a comment

How to close SharePoint modal wait screen after postBack when page is in dialog mode

————– UPDATE: The code originally posted doesn’t work with IE. You get a “Can’t execute code from a freed script” error and the wait screen is not removed after postBack. The code works fine in Chrome and Firefox. I now … Continue reading

Posted in ModalDialog, SharePoint 2010, SharePoint JavaScript API | Tagged | 10 Comments

How to detect user is locked out when using Form Based Authentication in SharePoint 2010

When using FBA in SharePoint 2010 you get the error message below on login when the user name and/or password is incorrect. You get the same error message when the user account is locked out, which is not very useful … Continue reading

Posted in Claim Authentication, Form Based Authentication, SharePoint 2010 | 1 Comment

Lessons learnt in implementing ASP.NET login controls in SharePoint 2010

Recently I had to implement Create User, Change Password, Password Reset (Recovery) in SharePoint 2010. I decided to use the OOTB ASP.NET login controls for this. Mostly these controls just worked in SharePoint 2010 as they do in ASP.NET. There … Continue reading

Posted in Claim Authentication, Form Based Authentication, SharePoint 2010 | Leave a comment