|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
An ActiveX control that works with the ListViewWebPart class to provide users with a datasheet view for editing lists in Windows SharePoint Services.
When a user clicks Edit in Datasheet, an EditInGrid function is called, which is defined in the OWS.JS file. This function creates the ListNet control on the page as follows:
OWS.JS is located in the Local_Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\1033 directory on each front-end Web server in a Windows SharePoint Services deployment. The user is redirected to the page that loads the object using the CLSID that is specified in a web.config file in Local_Drive:\Inetpub\wwwroot\wss\VirtualDirectories on the front-end Web server. The ListNet control is specified as follows in the web.config file:
<WebPartControls DatasheetControlGuid="65BCBEE4-7728-41A0-97BE-14E1CAE36AAE" />
A developer can create a custom control for editing SharePoint lists if it has the same ProgID (ListNet.ListNet), uses the same method or property names, and provides the same functionality as described in this reference.
When the 2007 Microsoft Office system is installed on the client computer, the ListNet control is defined in the STSLIST.DLL file, a dynamic-link library (DLL) that is installed on the client during 2007 Office system setup in the Local_Drive:\Program Files\Microsoft Office\OFFICE12 directory.