Copied to clipboard

Flag this post as spam?

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


  • Giuseppe 34 posts 56 karma points
    Oct 26, 2011 @ 11:16
    Giuseppe
    0

    Extend Umbraco back-end with user controls

    Hi all,

    I would create an user controls in .net to use into back-end of Umbraco. This controls can be import in document type. How I can proceed to develop it? Must be create a package or are there other way? Where I can found specific documentation about this?

    Thank's a lot
    Giuseppe

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Oct 26, 2011 @ 11:22
  • Giuseppe 34 posts 56 karma points
    Oct 26, 2011 @ 14:09
    Giuseppe
    0

    Thanks Jeroen for your reply.

    Other thing: how I can get the current Document into User Controls without handle Save event?

    For example: I have an user control used as data type with a button in backend. When the user click this button, I need to read the current document. How I can do this?

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Oct 26, 2011 @ 14:12
    Jeroen Breuer
    0

    You could use this:

    Document document = 
    new Document(Convert.ToInt32(HttpContext.Current.Request.QueryString["id"]));

    See this wiki for more info: http://our.umbraco.org/wiki/reference/api-cheatsheet/difference-between-a-node-and-a-document.

    Jeroen

  • Giuseppe 34 posts 56 karma points
    Oct 26, 2011 @ 14:23
    Giuseppe
    0

    Oh yes! 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