Feb 27, 2012, 5:26 AM
Multiple Toolbars plus Container with DropDownList
Hi guys,
I have a curious problem. I created a User Control with a Toolbar and some easy options (Save Icon visible or not etc.). When I now use a Tab Control from DevExpress (but think the error appears elsewhere either), and place into each tab this toolbar (through my user control) it gets funny: I enable the ext:ComboBox (default visible=false) on the first page and it appears excately there. But the ASP DropDownList appers into another tab??????
Any suggestions?
PS: The ComboBox1 doesn't show any text and the drop down list is only a few pixels high. Where can I set the CSS for this control? Tried Cls, ItemCls etc. but nothing happened.
Thanks in advance,
Frank
I have a curious problem. I created a User Control with a Toolbar and some easy options (Save Icon visible or not etc.). When I now use a Tab Control from DevExpress (but think the error appears elsewhere either), and place into each tab this toolbar (through my user control) it gets funny: I enable the ext:ComboBox (default visible=false) on the first page and it appears excately there. But the ASP DropDownList appers into another tab??????
Any suggestions?
PS: The ComboBox1 doesn't show any text and the drop down list is only a few pixels high. Where can I set the CSS for this control? Tried Cls, ItemCls etc. but nothing happened.
Thanks in advance,
Frank
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="RFQToolBarControl.ascx.vb" Inherits="RepsPortal.RFQToolBarControl" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<ext:Toolbar ID="RFQ_Toolbar" runat="server" Width="300px" ClassicButtonStyle="false" AutoHeight="true" EnableOverflow="True" TabMenuHidden="True" AutoWidth="True" ClientIDMode="AutoID" IDMode="Predictable">
<Items>
<ext:Button ID="RFQ_Toolbar_PrevTab" runat="server" IconCls="ToolBar_Back" Scale="Large" AutoHeight="True" AutoPostBack="False" ToolTip="Previous Tab" ToolTipType="Qtip" ClientIDMode="AutoID">
<Listeners>
<Click Fn="function(){ PageControl_NextPage(RFQ_PageControl, -1); }" />
</Listeners>
</ext:Button>
<ext:Button ID="RFQ_Toolbar_NextTab" runat="server" IconCls="ToolBar_Forward" Scale="Large" AutoHeight="True" AutoPostBack="False" ToolTip="Next Tab" ToolTipType="Qtip" ClientIDMode="AutoID" IDMode="Predictable">
<Listeners>
<Click Fn="function(){ PageControl_NextPage(RFQ_PageControl, +1); }" />
</Listeners>
</ext:Button>
<ext:ToolbarSeparator ID="RFQ_Toolbar_Separator_1" ClientIDMode="AutoID" IDMode="Predictable" />
<ext:Button ID="RFQ_ToolBar_Save_Button" runat="server" IconCls="ToolBar_Save" Scale="Large" AutoHeight="True" AutoPostBack="True" ToolTip="Save address changes to Prism" ToolTipType="Qtip" ClientIDMode="AutoID" IDMode="Predictable" />
<ext:ToolbarSeparator ID="RFQ_Toolbar_Separator_2" ClientIDMode="AutoID" IDMode="Predictable" />
<ext:ComboBox
ID="ComboBox1" SkinID="StandardDropDownListToolbar"
runat="server" Cls="ToolBar_DropDown"
ClientIDMode="Predictable"
DisplayField="Text"
ValueField="Value"
Visible="false">
<Items>
<ext:ListItem Text="Text1" Value="1" />
<ext:ListItem Text="Text2" Value="2" />
<ext:ListItem Text="Text3" Value="3" />
</Items>
</ext:ComboBox>
<ext:Container ID="RFQ_ToolBar_Save_Container" runat="server" ClientIDMode="AutoID">
<Content>
<asp:DropDownList ID="RFQ_ToolBar_ContactPerson_DropDown" runat="server" SkinID="StandardDropDownListToolbar" AutoPostBack="True" DataTextField="dispName" DataValueField="profileID" AppendDataBoundItems="True" ClientIDMode="AutoID" />
</Content>
</ext:Container>
<ext:ToolbarSeparator ID="RFQ_Toolbar_Separator_3" ClientIDMode="AutoID" IDMode="Predictable" />
<ext:Button ID="RFQ_ToolBar_SaveToPrism_Button" runat="server" Scale="Large" AutoHeight="True" AutoPostBack="True" ToolTip="Save address changes to Prism" ToolTipType="Qtip" ClientIDMode="AutoID" Text="<b>Send RFQ to Prism</b>" Cls="ToolBar_SendToPrism" IDMode="Predictable" />
</Items>
</ext:Toolbar>
Last edited by Bubu; Feb 27, 2012 at 5:55 AM.