I need an user control that inherits from a textBox. It will use an array of strings to render a TabStrip. In each tab there will be a textbox with exactly the same settings as the parent control (multiline, height, width, etc). The text in each of the tabs' textboxes will be what one would find between html tags <MyTab> and end HTML tag </MyTab> of the main text content. The first tab in the list gets whatever text is outiside any tags. There is a property that decides to turn all of the functionality off and just render one normal textbox.
So the array of string could be: MyTab1, MyTab2, MyTab3.
The control would render 4 tabs: Default, MyTab1, MyTab2, MyTab3 with respective content.
I should be able to replace a standard textbox on my page and this control should behave as if it's a standrad textbox, so I don't need to change my code.
Should be using C#. Will be used? with? an ASP.NET 2.0 web project. No Ajax!