template div tags.

Posted by Community Admin on 05-Aug-2018 10:50

template div tags.

All Replies

Posted by Community Admin on 08-Jun-2012 00:00

Just a quick question which I hope has a quick answer.
When creating templates within Sitefinity in the Template editor, I can add CSS classes to Divs but do the Div tags have runat="server" set on them? If they don't, is there a way I can add this?

I'm looking to populate a div from codebehind and wanted to find out if runat="server is within the template or not. Thanks

Posted by Community Admin on 12-Jun-2012 00:00


Yes divs have runat server property. Each layout element which is created hen creating  sitefinity page template with the sitefinity template editor is composed of a stricture like this.

<div runat="server" class="sf_cols">
    <div runat="server" class="sf_colsOut sf_1col_1_100">
        <div runat="server" class="sf_colsIn sf_1col_1in_100 myCustomCSSClass">
More information can be found in this documentation.

Stanislav Velikov
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed