• Not Answered

How to display checkbox and treelist in view rendering ?

I would like to know the syntax for displaying checkbox and treelist in view rendering which doesn't use any ORM tool

I tried @Html.Sitecore.Field("checkboxfield") but no luck. Any clue on the helper method to display data?

similarly, for treelist what should be the syntax?

1 Reply

  • Hello,

    i think you cannot display checkboxes or treelists from sitecore in that way, cause there is no field renderer for that.
    There was already a quiete similar question regarding editing checkboxes in this post community.sitecore.net/.../14463

    If your checkbox or treelist is on the item of your rendering, then you can easily access or edit them via rendering parameters and display them in frontend via plain markup instead of Sitecore.Field.

    Best regards