How to force a WebPart appears in all pages of a portal in asp.net?

Posted by Mehdi on Stack Overflow See other posts from Stack Overflow or by Mehdi
Published on 2010-06-07T18:51:32Z Indexed on 2010/06/07 19:22 UTC
Read the original article Hit count: 252

Filed under:
|
|
|

Hi,

I'm working on a portal/CMS project and (unfortunately) build the foundation on WebParts platform.

However I need to provide an option for admin to choose whether a webpart should be display in all pages or not. Finally I've found a nice article from Damon Armstrong that describes a way to store all personalization data of a group of pages into one record. Thus every changes the admin made for a webpart, affect whole pages.

But it doesn't seems to be a solution for me because of these reasons:

1- The above solution works for a group of pages; in fact we can select which pages to display all webparts, but we expect reverse: select which webpart to display in all pages.

2- After some data entry and adding webparts on pages, we'll face an issue about massive data size of personalization record that should be serialize and deserialize to display contents of each page.

May be it would be solved by writing another custom personalization provider or some hacking on webparts system, but I don't now how. Any Ideas about the problem? Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET