Copied to clipboard

Flag this post as spam?

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


  • Tatiana Vassilieva 18 posts 98 karma points
    Jun 21, 2013 @ 04:39
    Tatiana Vassilieva
    0

    Datatype grid not compatible with Media types??

    When I'm retirieving data from content nodes, this works:

    @foreach(var line in @Model.schedule){       @line.time; @line.activity;    }

     

    But when I try the same with a Media item that uses the datagrid datatype, it all ends up as one long string without even a char to separate one line from the next... Is the datagrid just not compatible with Media types or can I get the data some other way? Or need modity the script so can use with string.Split() easily?

    (umbraco v 4.11.8)

Please Sign in or register to post replies

Write your reply to:

Draft