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();

Please Sign in or register to post replies

Write your reply to:

Draft