umbraco - IContent and IPublishedContent return null for the other tabs properties -


i having 2 tabs in page. when trying access properties using icontent , ipublishedcontent, able access properties of first tab second tab property returning null.

can suggest how should access second tab properties while iterating?

// getting null second tab property

foreach (icontent local in localsnode.children()) {     var questioninsight = local.properties["questioninsight"].value.tostring(); } 

enter image description here

enter image description here

since not custom data type, can access list content via children property.

list item in umbraco children under current node


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -