Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

access content editor webpart through code

$
0
0

Hello All,

I have a SP Article webpage - added through module - in which Im adding a content editor webpart  (inside a webpart zone)- with some content.

Its getting displayed in the webpart as expected.

But I couldnt  access content editor webpart through code -

I mean,

GetLimitedWebPartManager is not returning that webpart for both PersonalizationScope.Shared and PersonalizationScope.User

If I edit the same page with SP Designer I can see the webpart.

Environment: SharePoint 2010 SP1 + Feb 2012 CU

Can I anyone have a idea of what is that Im missing here ?


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>