前台(写html的)的一个控件怎么在后台写?
有一控件在前台是写完可以使用的,但由于要使用动态生成控件,所以不能直接写html,要在后台写,请问怎么写。前台代码附下:
<style type="text/css">@import url( slider.css );
<TR id="fenid" runat="server">
<TD>
<table height="100%" width="100%">
<tr>
<td vAlign="top" noWrap align="right" width="50" bgColor="#ffffff"><asp:label id="lb_begin" runat="server"></asp:label></td>
<td noWrap align="left" bgColor="#ffffff">
<div>
<div id="sliderDemo1" style="HEIGHT: 40px" runat="server"></div>
</div>
<div id="sliderDetail" style="FONT-WEIGHT: bolder" align="center"></div>
</td>
<td vAlign="top" noWrap align="left" width="40" bgColor="#ffffff"><asp:label id="lb_end" runat="server"></asp:label></td>
</tr>
</table>
</TD>
</TR>
<script type="text/javascript">
//<


