template div tags.
Hi!
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
Hi,
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"
>
</
div
>
</
div
>
</
div
>