*I am currently doing this will no issues (although I do have a question I'll ask in a different post about events). *But, this is what I'm doing to get it to work (sample code):
using Coolite.Ext.Web;
namespace Tools.Web.WebControls
{
[DefaultProperty("Text")]
[ToolboxData("<{0}:ExportToolbar runat=server></{0}:ExportToolbar>")]
public class ExportToolbar : Toolbar
{
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
// Do my stuff OnLoad
}
[DefaultValue(false)]
public bool AutoTooltip { get; set; }
}
}
Then in my Html:
<%@ Register Assembly="Tools.Web" Namespace="Tools.Web.WebControls" TagPrefix="mytool" %>
<ext:TabPanel id="tpManager" runat="server">
<Tabs>
<ext:Tab id="tabPeople" runat="server" Title="Participants" Icon="Group">
<TopBar>
<mytool:ExportToolbar id="expExportParts" runat="server" AutoTooltip="false" />
</TopBar>
<Body>
<ext:Panel runat="server" border="false">
<Body>
Do Stuff!!!
</Body>
</ext:Panel>
</Body>
</ext:Tab>
</Tabs>
</ext:TabPanel>
Hope that helps!