Copied to clipboard

Flag this post as spam?

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


  • Amigo 231 posts 506 karma points
    Aug 26, 2010 @ 10:30
    Amigo
    0

    get document type propperty values from c#

    Hi im new to umbraco...

    How can i access the document type propperty values, from the current page in my codebehind file c#?

  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    Aug 26, 2010 @ 10:55
    Ismail Mayat
    0

    Thomas,

    You need to use NodeFactory take a look at this wiki http://our.umbraco.org/wiki/reference/api-cheatsheet/working-with-the-nodefactory

    Regards

    Ismail

  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    Aug 26, 2010 @ 10:56
    Ismail Mayat
    0

    Also if using .net35 you can use this http://our.umbraco.org/forum/developers/extending-umbraco/2341-extension-method-to-umbraco-node-getpropertyvalue extension method for a safe GetProperty

  • Amigo 231 posts 506 karma points
    Aug 26, 2010 @ 15:34
    Amigo
    0

    thanks a lot ;-)

  • 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