0

If have a standard aspx page (non-sharepoint) that hosts webparts
It contains one asp:catalogzone and four asp:WebPartZone's.

I have a business requirement that my new webpart must start in the catalog and a user can choose whether to add it to a zone to display it, (not displayed by default).

Easy so I add it to the catalog zone instaed of the webpart zone.

Problem: The user can add the same webpart multiple times and it looks really bad.

Oddly the default behavior for a webpart when it is originally hosted in an asp:WebPartZone is that it only appears in the catalog zone when it has been closed, and then it can only be added back to a webpart zone once, I want the same behavior but I want my webpart to start in the catalog.

Sounds easy.

Andrew
  • 664
  • 13
  • 32

1 Answers1

1

you have to create a custom catalog for filtering the existing webparts like in this example: Link

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
jmservera
  • 6,454
  • 2
  • 32
  • 45