Hi guys,
I was just wondering if anyone knew how to create a web user control when I can place my own contents. I guess that's kinda a bad description, but this is basically what I want to do.
Code:
<uc1:mycontrol id="mycontrol1" ...>
<table>
...
</table>
</uc1:mycontrol>
See, my control just creates a nifty border (3x3 cell table), and the contents go in the middle cell. It would be nice to be able to add my dynamic content the way described above.
I have tried, without success, creating a property for content, but it wasnt liked.
Code:
<uc1:mycontrol id="mycontrol" content="
<table>
...
</table>
" />
I dont really want to have to build a string and just display the string.
Thanks in advance, if people could understand what I'm trying to do ;p