web parts - SharePoint-specific WebPart-class (instead of System.Web.UI) -


i started using sharepoint 2013. created project using built-in tools (office developer add-ons) sharepoint project.

i porting sharepoint 2010 project few webpart more or less file-by-file. old webparts made use of webpart class found in microsoft.sharepoint.webpartpages.webpart. according msdn, should exist in sharepoint 2013. however, not present (i compiler errors).

my question is: dll / using directive missing?

i tried using using microsoft.sharepoint.webpartpages (and inheriting webpart), still comes error (using works fine though).

i figured out. had set project sandboxed, disables features including specific webpart-type. re-creating project non-sandboxed project made work.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -