[CLOSED] [1.0] - Combobox and AnchorLayout

  1. #1

    [CLOSED] [1.0] - Combobox and AnchorLayout

    Hi, I cannot see the combobox trigger using the following code.
    I'm testing it on Google Chrome, and I'm using: 1.0.0.34580 Ext.Net version.


    Anyone could tell me where I am wrong?


    Thanks.


    Here is the code:
    <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Test.aspx.vb" Inherits="Test" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">  
        <title>Test</title>
    </head>
    <body>
     <form id="form1" runat="server">
      
      <ext:ResourceManager ID="extSM" runat="server"></ext:ResourceManager>
      
        <ext:Viewport ID="vp" runat="server">
          <Content>
            <ext:FitLayout ID="ft" runat="server">
              <Items>
                <ext:FormPanel ID="pnl" runat="server">
                  <Content>
                    <ext:AnchorLayout ID="an1" runat="server">
                      <Anchors>
                        <ext:Anchor>
                          <ext:Combobox ID="cmb" runat="server" Width="120" 
                                        		ReadOnly="true" AllowBlank="false"
                                        		fieldLabel ="Label..." >
    				<Items>
    					<ext:ListItem Text="..." Value="0" />
    					<ext:ListItem Text="One" Value="1" />
    					 <ext:ListItem Text="Two" Value="2" />
    				</Items>
    			       <SelectedItem Text="..." Value="0" />
    			</ext:Combobox>
                        </ext:Anchor>
                      </Anchors>
                    </ext:AnchorLayout>
                  </Content> 
                </ext:FormPanel>
              </Items>
            </ext:FitLayout>   
          </Content>
        </ext:Viewport>
        
      </form>
    </body>
    </html>
  2. #2

    RE: [CLOSED] [1.0] - Combobox and AnchorLayout



    Problem solved:

    Removed: ReadOnly="true" from combox properties and added Editable="false".


    I got it 'ReadOnly=True', to disable editing and show trigger, working in 8.2, but not in 1.0 version.




Similar Threads

  1. Replies: 4
    Last Post: Nov 30, 2011, 5:25 AM
  2. Replies: 4
    Last Post: Sep 28, 2011, 8:57 AM
  3. Replies: 5
    Last Post: Jan 06, 2010, 10:35 AM
  4. AnchorLayout.Controls position bug
    By Kalitte in forum 1.x Help
    Replies: 1
    Last Post: Jan 03, 2009, 5:54 AM
  5. AnchorLayout?
    By Timothy in forum 1.x Help
    Replies: 4
    Last Post: Jun 10, 2008, 7:52 PM

Posting Permissions