M
MattC
I want to be able to create a control that will wrap any html placed inside
the control tag with some predefine html.
For example is the following possible?
<mycontrol:container id="test" hidebutton=hide.gif CSSClass="container"
containername=details runat=server>
Hello
</mycontrol:container>
Would produce the output:
<!--Container-->
<table class="container" cellSpacing="0" cellPadding="0">
<tr>
<TD class="container" vAlign="top">
<A href="javascript:condense('details')"><IMG src="hide.gif"
align="absMiddle" name="details"></A>Allowance Entries
</TD>
</tr>
<TR>
<TD>
<DIV id="detailsdiv">
<!--Container Contents-->
Hello
<!--End Container Contents-->
</DIV>
</TD>
</TR>
</table>
<table>
<tr height="15">
<td></td>
</tr>
</table>
<!--End Container-->
the control tag with some predefine html.
For example is the following possible?
<mycontrol:container id="test" hidebutton=hide.gif CSSClass="container"
containername=details runat=server>
Hello
</mycontrol:container>
Would produce the output:
<!--Container-->
<table class="container" cellSpacing="0" cellPadding="0">
<tr>
<TD class="container" vAlign="top">
<A href="javascript:condense('details')"><IMG src="hide.gif"
align="absMiddle" name="details"></A>Allowance Entries
</TD>
</tr>
<TR>
<TD>
<DIV id="detailsdiv">
<!--Container Contents-->
Hello
<!--End Container Contents-->
</DIV>
</TD>
</TR>
</table>
<table>
<tr height="15">
<td></td>
</tr>
</table>
<!--End Container-->