Copied to clipboard

Flag this post as spam?

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

  • Nick 42 posts 216 karma points
    Mar 03, 2017 @ 16:41

    CS1003: Syntax error, ',' expected


    I'm using Umbraco 7.5.4 assembly for my site. Created a macro from a partial view with a content node picker and inserted this within my homepage, but receive the follow error: CS1003: Syntax error, ',' expected. I can't work out why this is causing a problem, can anybody please help.

    enter image description here

    Many thanks


  • Hendy Racher 861 posts 3830 karma points MVP admin c-trib
    Mar 03, 2017 @ 16:44
    Hendy Racher

    Hi Nick,

    My initial guess would be that "Node Id" is two words, so not a valid property name.

    HTH, Hendy

  • Nick 42 posts 216 karma points
    Mar 03, 2017 @ 16:52

    Many thanks, That did the trick, so simple, got my Friday afternoon head on. Time to leave work, have a good weekend.

Please Sign in or register to post replies

Write your reply to: