XModPro

scriptblock in template

Paul.Buckley Paul.Buckley asked Jun 9, 2014
Active Jun 12 · Viewed 1794 times
<p>I have been trying to set the width of the dropdown in the template (option). </p><p>&lt;div style="width:100px; float:right;"&gt; &lt;xmod:Template Id="Siteslst" UsePaging="False" &gt;<br>&lt;ListDataSource CommandText="SELECT Site FROM QCLKe" /&gt;<br>&lt;HeaderTemplate&gt; <br>&lt;select id="ddlSteFilter"&gt;<br>&lt;/HeaderTemplate&gt;<br>&lt;ItemTemplate&gt;<br> &lt;option ;value="[[Ste]]"&gt;[[Ste]]&lt;/option&gt;<br>&lt;/ItemTemplate&gt;<br>&lt;FooterTemplate&gt;</p></p><p>Also there is no script option from what I can see on the template..how do i apply css to the template? </p><p>I also tried to center this buttonlink and does not work yet work in dnn html panel?</p><p>&lt;div style="text-align: center;"&gt; &lt;a href="/program/xxxxx?Site=[[ste]]"style="width: 170px;"&gt; Levels&lt;/a&gt; &lt;/div&gt; </p></p>

1 Answer

Loading answers...