More in this section
Forums / Developing with Sitefinity / Multiple Choices

Multiple Choices

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Ronny
    Ronny avatar
    0 posts
    Registered:
    30 Nov 2016
    26 Jan 2017
    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