Copied to clipboard

Flag this post as spam?

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


  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Mar 23, 2011 @ 09:24
    Biagio Paruolo
    0

    How check if currentPage is?

    How in Razor? This is in XSLT

    <xsl:if test="$currentPage/@nodeName = 'CREATE'">
  • Sebastiaan Janssen 5058 posts 15520 karma points MVP admin hq
    Mar 23, 2011 @ 09:29
    Sebastiaan Janssen
    0
    @if(Model.Name = 'CREATE')
    {
      //Do something..
    }
Please Sign in or register to post replies

Write your reply to:

Draft