Hello All,
I am trying to override the Controls collection of a control that inheirts from WebControl so that when a user adds controls to the webcontrol I can put buttons before and after it and kind of put it in its own wrapper. Something like this:
protected override ControlCollection Controls
{
EnsureChildControls();
return this._panel.Controls;
}
However, when I do this the viewstate of the child controls are not maintained for some reason. Any ideas?
Thanks!