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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -