Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kevin Jiang 2 posts 72 karma points
    Oct 08, 2015 @ 07:17
    Kevin Jiang
    0

    How to dynamically generate html tag

    I'm imitating the blog page in Umbraco starter kit. I found that it does not add a < div class="row" > tag for each row. Instead, all the columns are included in one row.

    I'd like to put three columns in each row, so that I need to add < div class="row" > at the beginning of the column of that row, and then add < /div > at the 3rd column of that row.

    I cannot dynamically generate html tag such as

    in cshtml file. How can I do that?

    Thanks

  • Dave Woestenborghs 3504 posts 12134 karma points MVP 9x admin c-trib
    Oct 08, 2015 @ 09:47
    Dave Woestenborghs
    0

    Hi Kevin,

    Which starter kit are you using ? There are multiple starter kits available.

    Dave

  • Kevin Jiang 2 posts 72 karma points
    Oct 08, 2015 @ 14:06
    Kevin Jiang
    0

    Dave,

    The latest starter kit for 7.2 with black nav bar.

    You can see BlogOverview.cshtml from that starter kit. It only has one div class="row". I want it appear on each 3 column row.

    Thanks, Kevin

Please Sign in or register to post replies

Write your reply to:

Draft