Copied to clipboard

Flag this post as spam?

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


  • Tejaswini 7 posts 27 karma points
    Oct 14, 2013 @ 17:18
    Tejaswini
    0

    Programmaticaly deleting a media in "media picker"

    I tried the following -

    It throws an error. How do I set it to null value ?

     string tj = ProgramNode.GetProperty("programPhoto").ToString();

            Media thisMedia = new Media(Convert.ToInt32(tj));
            thisMedia.delete(true);

    ProgramNode.GetProperty("programPhoto").Value = String.Empty();

  • 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