Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • MK 429 posts 906 karma points
    Oct 16, 2012 @ 10:47
    MK
    0

    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'

     

     

          List<dynamic> SortedList = new List<dynamic>();
               foreach (dynamic c in node.tryNowDataGrid)
               {
    
    string testing = !string.IsNullOrEmpty(c.test.InnerText) ? c.test.InnerText : "0",
                  }

    Any Idea?

    Regards,

    mkariti

  • MK 429 posts 906 karma points
    Oct 16, 2012 @ 10:56
    MK
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft