Click here to Skip to main content
15,888,803 members
Articles / Productivity Apps and Services / Sharepoint

Site Content Web Part (SharePoint 2010)

Rate me:
Please Sign up or sign in to vote.
4.17/5 (4 votes)
15 May 2010CPOL3 min read 58.6K   1.7K   10  
Displays site and sub-site content in a hierarchical tree that is expandable and collapsible
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{E41D4415-97EE-467C-9E54-1C858352DC43}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>QuestechSystems.SharePoint</RootNamespace>
    <AssemblyName>QuestechSystems.SharePoint.SiteContentWebPart</AssemblyName>
    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
    <FileAlignment>512</FileAlignment>
    <ProjectTypeGuids>{BB1F664B-9266-4fd6-B973-E1E44974B511};{14822709-B5A1-4724-98CA-57A101D1B079};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    <SandboxedSolution>False</SandboxedSolution>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <UseVSHostingProcess>false</UseVSHostingProcess>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <UseVSHostingProcess>false</UseVSHostingProcess>
  </PropertyGroup>
  <PropertyGroup>
    <SignAssembly>true</SignAssembly>
  </PropertyGroup>
  <PropertyGroup>
    <AssemblyOriginatorKeyFile>key.snk</AssemblyOriginatorKeyFile>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.configuration" />
    <Reference Include="System.Core" />
    <Reference Include="System.Data" />
    <Reference Include="System.Data.DataSetExtensions" />
    <Reference Include="System.Web" />
    <Reference Include="System.Web.Extensions" />
    <Reference Include="System.Xml" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="Microsoft.SharePoint" />
    <Reference Include="Microsoft.SharePoint.Security" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="ComponentModel\SPCategoryAttribute.cs" />
    <Compile Include="ComponentModel\SPDescriptionAttribute.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
    <Compile Include="Resource.Designer.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>Resource.resx</DependentUpon>
    </Compile>
    <Compile Include="Utility.cs" />
    <Compile Include="WebControls\SPWebDescriptionAttribute.cs" />
    <Compile Include="WebControls\SPWebDisplayNameAttribute.cs" />
    <Compile Include="WebControls\SiteContentWebPart\SiteContentWebPart.cs" />
  </ItemGroup>
  <ItemGroup>
    <None Include="ClassResources\SharePointProjectItem.spdata">
      <SharePointProjectItemId>{e3826e61-ce45-4842-8c4c-12db60d87c60}</SharePointProjectItemId>
    </None>
    <None Include="Features\QuestechSiteContentWebPart\QuestechSiteContentWebPart.feature">
      <FeatureId>{0b5d435b-edb0-429f-ab31-fc1a2ee2f5bf}</FeatureId>
    </None>
    <None Include="key.snk" />
    <None Include="Package\Package.package">
      <PackageId>{cb65b282-1626-420f-ab05-fdeb07b45d12}</PackageId>
    </None>
    <None Include="Package\Package.Template.xml">
      <DependentUpon>Package.package</DependentUpon>
    </None>
    <None Include="WebControls\SiteContentWebPart\SharePointProjectItem.spdata">
      <SharePointProjectItemId>{7656e333-0bcc-4905-9a3a-50ede207c2d4}</SharePointProjectItemId>
    </None>
    <None Include="WebControls\SiteContentWebPart\SiteContentWebPart.webpart" />
  </ItemGroup>
  <ItemGroup />
  <ItemGroup>
    <Content Include="ClassResources\Images\node-closed.gif" />
    <Content Include="ClassResources\Images\node-open.gif" />
    <Content Include="ClassResources\Images\node.gif" />
    <EmbeddedResource Include="ClientScripts\SiteContentWebPart.js" />
    <Content Include="Features\QuestechSiteContentWebPart\QuestechSiteContentWebPart.Template.xml">
      <DependentUpon>QuestechSiteContentWebPart.feature</DependentUpon>
    </Content>
    <Content Include="WebControls\SiteContentWebPart\Elements.xml" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="Features\QuestechSiteContentWebPart\Resources.resx" />
    <EmbeddedResource Include="Resource.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>Resource.Designer.cs</LastGenOutput>
    </EmbeddedResource>
  </ItemGroup>
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\SharePointTools\Microsoft.VisualStudio.SharePoint.targets" />
</Project>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Canada Canada
A Microsoft Certified Professional Developer and Technology Specialist.

Experience and expertise in SharePoint 2016 / 2013 / 2010 / 2007.

Role ranges from a developer in a multi-person team to a solution consultant with expert-level skills, leading a project to completion status.

Proven experience working effectively in a team environment and a self-managed environment.

Comments and Discussions