Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Above one is the code which I have written.In checkboxlist I have 3 items.From those I checked only 2 items. Either I am getting all the 3 items as output or error( when I write If condition in foreach loop to get only checked items).
Don't know what happened but I got a notification in my inbox that you had responded to https://our.umbraco.org/forum/using-umbraco-and-getting-started/92270-checkboxlist and now it seems that the above is the reponse I could see in my inbox but when I clicked the link I could not see any response. So therefore crosslinking the posts for historical reasons.
Is it possible for you to also post a screendump of what the page you're trying to render looks like too?
I'll use it for trying to make the same setup as you to better guide you - In my daily work we have our own Umbraco baseline, which means I can use Razor in a different way than the options that comes out of the box with Umbraco so feeling a bit rusty in the "vanilla" approach :-)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted