Copied to clipboard

Flag this post as spam?

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


  • Touhid 97 posts 117 karma points
    Jan 04, 2011 @ 13:36
    Touhid
    0

    How can user control retreive document property

    Hi All

     I am using Umbraco 4.5.2 Currently I am developing a.Net user control and a document ID will be assed to it. So how can I retrieve all its properties by using its id? I know xslt can do this but do not know how user control do it?

    I know the umbraco.presentation.nodeFactory.Node.GetCurrent() is helpfull but i cant do it completely.

    Can any one help me with complete code.

    Thank you

    Touhid

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 04, 2011 @ 14:15
    Jan Skovgaard
    0

    Hi Touhid

    I think you should have a look at this WIKI page: http://our.umbraco.org/wiki/reference/api-cheatsheet it should give you a pretty good idea about it if you posses .NET and C# skills :-)

    I also recommend you watch this free episode on umbraco.tv showing how to make a user control based macro in Umbraco: http://umbraco.tv/help-and-support/video-tutorials/introduction-to-umbraco/developer-introduction/using-net-user-controls

    hope this helps.

    /Jan

  • Touhid 97 posts 117 karma points
    Jan 04, 2011 @ 14:32
    Touhid
    0

    Hi

    Thnks for reply and i have seen that the how to create a user control and i created but i cant apply the code:umbraco.presentation.nodeFactory.Node.GetCurrent()

    Can you help me in details?

    Touhid

Please Sign in or register to post replies

Write your reply to:

Draft