I have a custom control that derives from the WebControls.Panel class.
In a given ASPX document, I have an instance of my custom control with ID
set to "MyControl".
Then I put a WebControls.TextBox control inside my custom control with ID
set to "MyTextBox".
When this page renderes, inspection of the HTML source shows that the Name
attribute of the input tag generated from MyTextBox is now actually
"MyControl:MyTextBox" and not just "MyTextBox".
Trying a similiar scenario, but using the standard WebControls.Panel as a
container instead of my panel-derived custom control, the input tag Name
attribute is as expected, "MyTextBox".
So, I figure I'm cleary doing something wrong.
Any thoughts?
TIA//