AI OnAI Off
Hi Vincent!
Selections in the drop down list property are stored in property settings. Use EPiServer.Web.PropertyControls.PropertySettings.MultipleOptionsListSettings to access them.
For example like this:
var setting = (MultipleOptionsListSettings)CurrentPage.Property["MyProp"].GetSetting(typeof(MultipleOptionsListSettings));
Then you can access the list options:
setting.ListOptions
/Klas
Hi I am having this problem and stucked this for few days. My problem is I am having a property use dropdown-list type, I want to display all the values stored in this type on the page. By using PageData.Property["xx"] I can only get the single value, not all of them.
Thanks