Overview

Sponge's Hosting Web Part allows you to host any ASP.NET User Control (.ascx) in SharePoint.

Installation

  • At first, you have to install Sponge. See the Install page on how to do that.
  • Once this is done, navigate to the Site Collection you want to enable the Hosting Web Part.
  • Go to Site Settings --> Manage Site Collection Features --> and activate Sponge Feature alt text
  • Go back to a SharePoint site and click Edit Page button --> Add a Web Part --> Sponge Web Parts --> Hosting Web Part. alt text
  • Configure the Web Part Properties --> Configuration --> Relative .ascx Path alt text

Add the relative path to your user control like this: ~/_CONTROLTEMPLATES/MySolution/MyControl.ascx. Click ok and your controll will load!

Last edited Aug 9, 2013 at 6:01 AM by int32at, version 2

Comments

No comments yet.