开发者

In sharepoint, how to list all webpartzones of a specific page from object model approach?

I'm using Sharepoint Object Model and after spending some hours with this pr开发者_StackOverflow社区oblem, it looks like SPLimitedWebPartManager doesn't have the "Zones" property (available in SPWebPartManager). I cannot believe the SPLimitedWebPartManager is able to retrieve all the webparts on a specific page (an SPFile), each one with its respective webpartzone assigned, and not able to retrieve all the webparzones of that file!

Any ideas?

Thanks in advance!

Nuno


Alas, SPWebPartZone is a bit of a mysterious topic in the SharePoint object model. As far as I know, there is no way to identify the zones using the SPLimitedWebPartManager.


Even i tried listing webpartzones using SPLimitedWebPartManager but wasn't successful..But It's possible using SPWebPartManager ..Will implement and post the code here..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜