Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi there,
Ive adde a new field named test to my datatype grid and for some reason I get the following exception:
Error loading Razor Script SideBar.cshtml
'umbraco.MacroEngines.DynamicXml' does not contain a definition for 'test'
List<dynamic> SortedList = new List<dynamic>(); foreach (dynamic c in node.tryNowDataGrid) { string testing = !string.IsNullOrEmpty(c.test.InnerText) ? c.test.InnerText : "0", }
string testing = !string.IsNullOrEmpty(c.test.InnerText) ? c.test.InnerText : "0",
Any Idea?
Regards,
mkariti
For some reason it will not see the new field unless I click edit once on the grid. However, this means that I need to do this for each page.
Also, I tried to publish and republish the entire site with no success.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Data Type Grid Razor Exception when adding field
Hi there,
Ive adde a new field named test to my datatype grid and for some reason I get the following exception:
Error loading Razor Script SideBar.cshtml
'umbraco.MacroEngines.DynamicXml' does not contain a definition for 'test'
Any Idea?
Regards,
mkariti
For some reason it will not see the new field unless I click edit once on the grid. However, this means that I need to do this for each page.
Also, I tried to publish and republish the entire site with no success.
mkariti
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.