Dec 04, 2012, 4:13 AM
Toolbar as UserControl
Hi guys,
I have a UserControl, were is nothing more in than a ext:toolbar item and a little bit of code which shows or hides button etc.
I tried to implement it into a Panel within a TabPanel but I have the following effects:
- Toolbar displyed, content gone
- Toolbar removed, content comes up
The trick with the Panel into the toolbat section doesn't work.
??????
How can I implement it in here (I need it in each Panel, not the TabPanel):
Frank
I have a UserControl, were is nothing more in than a ext:toolbar item and a little bit of code which shows or hides button etc.
I tried to implement it into a Panel within a TabPanel but I have the following effects:
- Toolbar displyed, content gone
- Toolbar removed, content comes up
The trick with the Panel into the toolbat section doesn't work.
??????
How can I implement it in here (I need it in each Panel, not the TabPanel):
<ext:TabPanel ID="TabPanel1" runat="server">
<Items>
<ext:Panel
ID="Tab_ContactInfo2"
runat="server"
Title="1. Client Contact Information">
<Content>
<asp:RadioButton ID="RadioButton1" GroupName="DeliveryAddress_RadioButton" runat="server" ClientIDMode="Predictable" Text="same as in Contact " Checked="true" AutoPostBack="False" />
<asp:RadioButton ID="RadioButton2" GroupName="DeliveryAddress_RadioButton" runat="server" ClientIDMode="Predictable" Text="other address" />
</Content>
<TopBar>
<ext:Toolbar ID="Toolbar2" runat="server">
<Content>
<uc:RFQToolBarControl runat="server" ID="RFQToolBarControl2" />
</Content>
</ext:Toolbar>
</TopBar>
</ext:Panel>
<ext:Panel
ID="Tab_QuoteInfo2"
runat="server"
Title="2. Quote Information">
<Items>
</Items>
</ext:Panel>
<ext:Panel
ID="Tab_Size2"
runat="server"
Title="3. Specifications">
<Items>
</Items>
</ext:Panel>
Regards & thanks in advance,Frank
Last edited by Bubu; Dec 04, 2012 at 4:17 AM.