Hello,
I am trying to create a user control that will allow formatting like so... here is an example:
I want to apply some html formatting around these separate content properties. I am getting confused on how to set up the properties for this user control in the code-behind. I am imagining this being a list of ITemplates, but I am not sure how to go about it. Any help is greatly appreciated, thanks!
I am trying to create a user control that will allow formatting like so... here is an example:
C#:
<ctrl:MyControl ID="MyTableForm" runat="server">
<Rows>
<FirstColumn>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</FirstColumn>
<SecondColumn>
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
</SecondColumn>
</Rows>
</ctrl:MyControl>
I want to apply some html formatting around these separate content properties. I am getting confused on how to set up the properties for this user control in the code-behind. I am imagining this being a list of ITemplates, but I am not sure how to go about it. Any help is greatly appreciated, thanks!