hi,
That is a good and nice question. In order to do that, you need to create a Templated User Control, or Templated Custom control. Using this custom user control or custom control, you can define every tag into your control which will be rendered via asp.net. Here are a couple of links. This posts will not create your exact control, but will teach you how to create templated controls:
Custom Templated control:
http://msdn.microsoft.com/en-us/library/aa478964.aspx[
^]
Templated User Control:
Creating a Templated User Control[
^]
I hope it helps,
Cheers