SHARE
TWEET

Untitled

a guest Oct 24th, 2013 72 Never
  1.    public class ImageList
  2.    {
  3.       public string title;
  4.       public string value;
  5.    }
  6.  
  7.    public string tinyMCE_image_list
  8.    {
  9.       get
  10.       {
  11.          var image_list = new List<ImageList>
  12.          {
  13.             new ImageList{title = "img-001", value = "../images/img-001.jpg"},
  14.             new ImageList{title = "img-002", value = "../images/img-002.jpg"}
  15.          };
  16.  
  17.          return JsonSerializer.SerializeToString(image_list);
  18.       }
  19.    }
RAW Paste Data
Top