Tag Archives: SharePoint

Enhanced Lookup Field – Part 1

The SharePoint lookup field is far from perfect. Once configured, it’s not possible to change the list it gets it’s data from. This is a good thing while the list actually exists. Now, if a user deleted the source list, … Continue reading

Posted in SharePoint | Tagged , | Leave a comment

Manually Set Form Field Context

When you’re developing custom code for SharePoint, sometimes you’ll have a situation where you’re dynamically adding form field controls to your control or WebPart and the form context will not be automatically picked up by the controls. If you’re using … Continue reading

Posted in SharePoint | Tagged , | Leave a comment

PeopleEditor control not available error

If you’re using a PeopleEditor control in your solution and enforce the filtering of selectable users by specifying a SharePoint group in the SharePointGroup property you may see the following error instead of the PeopleEditor control: “The control is not … Continue reading

Posted in Configuration, SharePoint | Tagged , , | Leave a comment

GetDataTable Object Reference Error

Calling the GetDataTable method of a SPListItemCollection object that was retrieved using a join with projected fields will throw the following error: Object reference not set to an instance of an object For example: SPQuery query = new SPQuery(); query.Query … Continue reading

Posted in SharePoint | Tagged | 2 Comments

PeopleEditor in Bound Control

Having problems updating a dynamically created PeopleEditor control on postback when utilising it in a bound repeating control? The following solution might help you. In the CreateChildControls method of your control create and add a HiddenField control at the same … Continue reading

Posted in SharePoint | Tagged , , | Leave a comment