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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -