Hello,
I activated the Calendar view in my dynamics portal yesterday, everything worked perfectly. Today I'm facing a problem with the following error, could you please help
The portal displays :
And in logs I see:
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
System.Web.HttpException
at System.Web.UI.ControlCollection.Add(Control child)
at Adxstudio.Xrm.Web.UI.WebControls.CrmEntityListView.RegisterClientSideCalendarDependencies(Control control, Guid websiteId) in G:\Agents\BA5946\_wap\48\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmEntityListView.cs:line 1304
at Adxstudio.Xrm.Web.UI.WebControls.CrmEntityListView.RenderCalendar(IPortalContext portalContext, Control container) in G:\Agents\BA5946\_wap\48\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmEntityListView.cs:line 988
at Adxstudio.Xrm.Web.UI.WebControls.CrmEntityListView.CreateChildControls() in G:\Agents\BA5946\_wap\48\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmEntityListView.cs:line 228
Thank you in advance,
*This post is locked for comments
Thank you for the confirmation and the quick reply, I'll follow steps in the blog post.
Okay,
I spent too much time now to confirm that this produce the same error in my own environement. It surely connected with "Full Page" template, which looks like the only one supported by calendar functionality. Seems they ave changed something and now it produce server error and cannot render control properly.
I have tried to hi-jack it with custom web temaplte, but I need to specify too many data, and it looks like that write own solution from the scratch will be much easier.
There is a beatufull blog post how to create page with own calendar here - colinvermander.com/.../dynamics-365-portals-implement-fullcalendar-with-liquid and you can add as many custom functionlity as you wish.
I suggest to proceeed with this approach now, and probably Portal team will fix entity-list calendar output issues in upcoming release.
Hi,
I just created an entity list, enabled the Calendar view, then created a page with template Page. It worked yesterday, but today it's not working anymore.
In the code it mentions the following linee; but I don't see anything that I could have changed,
at Adxstudio.Xrm.Web.UI.WebControls.CrmEntityListView.RegisterClientSideCalendarDependencies(Control control, Guid websiteId) in G:\Agents\BA5946\_wap\48\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmEntityListView.cs:line 1304
at Adxstudio.Xrm.Web.UI.WebControls.CrmEntityListView.RenderCalendar(IPortalContext portalContext, Control container) in G:\Agents\BA5946\_wap\48\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmEntityListView.cs:line 988
at Adxstudio.Xrm.Web.UI.WebControls.CrmEntityListView.CreateChildControls() in G:\Agents\BA5946\_wap\48\s\Framework\Adxstudio.Xrm\Web\UI\WebControls\CrmEntityListView.cs:line 228
Do you have the same problem ? or did you get the same problem?
Thank you
Hi, can you please provide some steps to reproduce ?
Initially it looks like you modified entity-list (some configuration stuff or Javascript, etc.) Probably it results in some error in markup.
Microsoft released source code of the portals for 8.2 which is been maintained by Adoxio here: github.com/.../CrmEntityListView.cs
Look to the code of the RegisterClientSideCalendarDependencies (I don't think it has been changed much) - the problem can be in head section of the page.
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
54
Victor Onyebuchi
6