ricardo.fiel
-
5/18/2010 10:29:21 AM
Using community webparts and their transformations in aspx templates
Hi,
We're developing a site with aspx templates. We've now reached the stage where we need to add community features (basically the ones in the community site template).
We're adding community webparts to our aspx templates, but using the transformations is being a pain. We've disabled the VirtualPathProvider (as we can't enable it on the staging and production environments), ran the "save all objects to disk" and we're trying to use and edit the transformations in the filesystem.
Most of the times, we're getting a "The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)." when using the default community transformations.
Eg: <cms:groupmenucontainer runat="server" ID="groupMenuElem" MenuID="groupContextMenu" Parameter='<%# Eval("GroupID") %>' ContextMenuCssClass="UserContextMenu">
If we remove the Parameter='', it doesn't throw the error, but doesn't work.
What are we doing wrong? Is there a better way to implement community in this scenario?
Thank you very much for your help on this, Ricardo
|