Thursday, February 25, 2010

Multiple Web Part instances on page?

When adding a second instance of a webpart:

"Unable to add selected web part(s).
xxx Web Part: A Web Part with this ID has already been added to this page.

- Remove ID attribution for main web part class (don't do this.ID="...")
- Send webpart id as editorpart parameter and add it to the editorpart id (do editorpart->this.ID="editorpart"+webpartid)

No comments:

Post a Comment