Copied to clipboard

Flag this post as spam?

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


  • syfa_safira 6 posts 26 karma points
    Feb 08, 2010 @ 10:21
    syfa_safira
    0

    Get node id in content using asp.net

    i have any problem coding to get node id in a content using asp.net.

    I will add the application to a comment from the news & events (CWS) by using the user control. And I need the node id of a news & events to be commented

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Feb 08, 2010 @ 10:30
    Dirk De Grave
    2

    Use

    node currentNode = umbraco.presentation.node.Factory.Node.GetCurrent();

    to get to the current node

     

    Hope this helps.

    Regards,

    /Dirk

     

Please Sign in or register to post replies

Write your reply to:

Draft