Copied to clipboard

Flag this post as spam?

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


  • Pavel Gurecki 55 posts 158 karma points
    Nov 04, 2013 @ 13:27
    Pavel Gurecki
    0

    Custom Section v6 MVC - how to add property editors?

    Hello,

    I've successfuly added custom section in Umbraco backend, MVC way, as described in this blog post.

    The problem is how to add Umbraco property editors to my custom view. I would like to reuse some property editors, especially content and media pickers, maybe even editors from uComponents.

    I've made some research and found some resources on doing that in web forms mode: 

    Although didn't find anything on how to do that in MVC. 
    Questions are:
    1. Is it possible to reuse default property editors in mvc custom sections? 
    2. How to do that?
    3. Where I should look for examples? (maybe it's implemented for standard umbraco UI)

     

  • Sebastiaan Janssen 5061 posts 15544 karma points MVP admin hq
    Nov 04, 2013 @ 15:39
    Sebastiaan Janssen
    100

    That won't be possible, property editors are Web User Controls that need a <form runat="server"> directive, which will not work in MVC.

  • Pavel Gurecki 55 posts 158 karma points
    Nov 04, 2013 @ 16:01
    Pavel Gurecki
    0

    Thanks for answer.

    How about Umbraco 7? Core property editors will be rewritten in js? If so, then it will be easier to use them in custom sections

  • 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