Try Now
More in this section

Forums / Developing with Sitefinity / MVC Widget - Translatable List field

MVC Widget - Translatable List<T> field

1 posts, 0 answered
  1. Joan
    Joan avatar
    3 posts
    20 Apr 2016
    20 Apr
    Link to this post

    I have a problem using the translation service with feather and Mvc Controllers,

    I have a custom widget that has a List<T> as a property 

    When I send a page in translation, this list is serialized into a JSON string. (Attached file)

    I wish each property of the object to be displayed as the properties "Title", "HtmlTitle". Is there a solution for this?

    public class TestLocalizationController : Controller
        public List<TestLocalization> List { get; set; }
        public ActionResult Index()
                return View();
    public class TestLocalization
        public string Label { get; set; }
1 posts, 0 answered