Copied to clipboard

Flag this post as spam?

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


  • Nauman 98 posts 118 karma points
    Nov 04, 2010 @ 15:32
    Nauman
    0

    use mediapicker in .net code

    Hi

    Is there a way that I can use mediapicker of umbraco in my custom .Net code? basically I have created a custom control using umbraco API and want to use mediapicker in that.

    Is there a way to achecive that?

    Nauman

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Nov 04, 2010 @ 15:47
    Tom Fulton
    0

    Tim posted a blog entry about this recently - http://www.nibble.be/?p=87

    Also Jeroen mentioned a different way of doing it which might be better, see his posts on this thread - our.umbraco.org/.../13518-implement-improved-mediapicker-c 

  • Nauman 98 posts 118 karma points
    Nov 05, 2010 @ 08:56
    Nauman
    0

    Tom

    Thanks for help.

    I have created object mp and

    umbraco.controls.ContentPicker mp = new umbraco.controls.ContentPicker();
    mp.AppAlias = “media”;
    mp.TreeAlias = “media”;

    in my .cs code

    how to make it work on my .ascx page, so that media picker works on my control as it works within umbraco and get the contents from media?

    Regards

    Nauman

  • Nauman 98 posts 118 karma points
    Nov 08, 2010 @ 06:27
    Nauman
    0

    Help required urgently.

Please Sign in or register to post replies

Write your reply to:

Draft