More in this section

Forums / Developing with Sitefinity / Multiple Choices

Multiple Choices

1 posts, 0 answered
  1. Ronny
    Ronny avatar
    0 posts
    Registered:
    30 Nov 2016
    26 Jan
    Link to this post

    Hi Sitefinity team,

    i have a module with a multiple choices, but i dont know how to get the value of the items selected.

    i hope somebody can help me pls.

    thx

     

     

     

      var myCollection = dynamicModuleManager.GetDataItems(carruselelementoType).Where(x => x.Status == ContentLifecycleStatus.Live);

                foreach (var item in myCollection)
                {

                    var imageUrl = item.GetRelatedItems<Telerik.Sitefinity.Libraries.Model.Image>("Imagen").FirstOrDefault().MediaUrl;
                    var linkUrl = item.GetRelatedItems<Telerik.Sitefinity.Pages.Model.PageNode>("Link").FirstOrDefault().GetDefaultUrl();
                    var Descrip = item.FieldValue<string>("Descripcion");

    var multplechoices = ???????? 

    }               

1 posts, 0 answered