Copied to clipboard

Flag this post as spam?

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


  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Mar 17, 2010 @ 12:02
    Jeroen Breuer
    0

    Member picker on custom page

    Hello,

    I´m trying to add the member picker on a custom page, but it seems I´m trying something which isn´t designed for this. I´m trying it the same way as the media picker. Likt this:

    <UmbracoControls:ContentPicker ID="MediaUpload" runat="server" AppAlias="media" TreeAlias="media" ModalHeight="400" ShowDelete="false"/>

    Now I got the following for the member picker:

    <UmbracoControls:ContentPicker ID="MemberPickerUpload" runat="server" AppAlias="member" TreeAlias="member" ModalHeight="400" ShowDelete="false"/>

    When I do this I get the member tree inside a pop-up, but it doens't work. When I click a member I get a javascript error because openMember is called on a custom page. Can I get this to work the same way as the media picker or is the ContentPicker not designed for members?

    Jeroen

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Mar 17, 2010 @ 12:54
    Dirk De Grave
    0

    Jeroen,

    can't you use the memberpicker control, which lives in the umbraco.editorControls namespace?

     

    Cheers,

    /Dirk

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Mar 17, 2010 @ 13:06
    Jeroen Breuer
    0

    I'm using that now, but it's just a simple DropDownList and I preferred the pop-up with a nice tree, but it seems that doesn't work :(

Please Sign in or register to post replies

Write your reply to:

Draft