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 1494 posts 1635 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 4899 posts 14655 karma points MVP admin hq
    Mar 23, 2011 @ 09:29
    Sebastiaan Janssen
    0
    @if(Model.Name = 'CREATE')
    {
      //Do something..
    }
  • 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.

Please Sign in or register to post replies