selector by generated id

  1. #1

    selector by generated id

    Hello, i get value from combo box
    <ext:ComboBox ID="ComboBox1" runat="server" FieldLabel="Choose request type" AllowBlank="false" Width="250" Editable="false" LabelWidth="130" SelectedIndex="0">
    	<Items>
    		<ext:ListItem Value="Tab1" Text="Standart" />
    		<ext:ListItem Value="Tab2" Text="Additional" />
    		<ext:ListItem Value="Tab3" Text="New" />
    	</Items>
    </ext:ComboBox>
    and show tab panel with some specific tabs when submit
    <ext:Button ID="ButtonRequireType" runat="server" Text="Select">
    <Listeners>
    	<Click Handler="#{TabPanel1}.show();
    		#{TabPanelRequest}.addTab(#{#{ComboBox1}.value}), false);
    		this.hide()" />
    </Listeners>
    </ext:Button>
    To show specific tab, i need to add tab
    #{TabPanelRequest}.addTab(#{TabId}, false);
    But i can`t get element by sending text from #{ComboBox1}.value to #{valueHere}
  2. #2
    Hi,

    It doesn't work:
    #{#{ComboBox1}.value}
    I can suggest to populate ComboBox Items on server side with
    Tab.ClientID

Similar Threads

  1. [CLOSED] #{} Selector - What is it?
    By jwf in forum 1.x Premium Help
    Replies: 2
    Last Post: Sep 07, 2011, 9:27 PM
  2. TableGrid selector
    By alemonnier in forum 1.x Premium Help
    Replies: 5
    Last Post: Jan 30, 2011, 11:22 AM
  3. [CLOSED] Hide column selector
    By tms in forum 1.x Premium Help
    Replies: 2
    Last Post: Jun 16, 2010, 3:23 PM
  4. Replies: 1
    Last Post: May 20, 2009, 8:46 AM
  5. [CLOSED] page size selector
    By alexp in forum 1.x Help
    Replies: 2
    Last Post: Nov 24, 2008, 11:36 AM

Posting Permissions