[CLOSED] [1.0] s.gif

  1. #1

    [CLOSED] [1.0] s.gif

    Hi,

    I don't know if this is a bug or whatelse, but inspecting http traffic we found this fancy log

    GET http://www.extjs.com/s.gif
    200 OK (text/html)
    it's a 1x1 pixel spacer, but it causes our application to 'request abort' since it's an intranet not connected in internet.

    Is this a bug or is it someway left intentionally (thing that drives to a bunch of new arguments....)


    Stefano
    Last edited by Daniil; Jun 24, 2011 at 4:12 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Yes, it should not happen
    Can you provide test sample demonstrate that Ext.Net requests such url?
  3. #3
    Here we are:

    the url appears at src attribute of trigger button of dateField control named _dateFrom

    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e)
         {
        }
    </script>
    
    <!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 id="Head1" runat="server">
        <title>Ext.NET Examples</title>
    </head>
    <body>
        <ext:ResourceManager ID="ResourceManager1" runat="server" />
        
            <ext:Store runat="server" ID="_storeQuote" IDMode="Explicit" >
                <Reader>
                    <ext:JsonReader IDProperty="Protocol">
                        <Fields>
                            <ext:RecordField Name="Protocol" />
                            <ext:RecordField Name="ProjectName" />
                            <ext:RecordField Name="SpecifierName" />
                            <ext:RecordField Name="OwnerUserId" />
                            <ext:RecordField Name="Customer" />
                            <ext:RecordField Name="ExpirationDate" Type="Date" />
                            <ext:RecordField Name="State" />
                        </Fields>
                    </ext:JsonReader>
                </Reader>
                <AutoLoadParams>
                    <ext:Parameter Name="start" Value="0" Mode="Raw" />
                    <ext:Parameter Name="limit" Value="25" Mode="Raw" />
                </AutoLoadParams>
                <SortInfo Direction="ASC" Field="Protocol" />
            </ext:Store>
    
        
    
            <ext:Viewport ID="Viewport1" runat="server">            
                <Content>
                    <ext:BorderLayout ID="BorderLayout1" runat="server">                            
        
                                <Center>
                                    <ext:Panel ID="Panel3"  runat="server" Layout="Fit">
                                        <TopBar>
        
                                <ext:Toolbar ID="Toolbar1" runat="server" Flat="true" >
                                    <Items>
                                        <ext:ToolbarSpacer Width="15px" />
                                        <ext:Button runat="server" Text="Project" Icon="New" StandOut="true" MinWidth="100px">
                                        </ext:Button>
                                        <ext:Button ID="Button2" runat="server" Text="Commercial" Icon="New" StandOut="true" MinWidth="100px">
                                        </ext:Button>
                                        <ext:ToolbarSpacer Width="15px" />                                                
                                        <ext:TextField runat="server" ID="_search" EmptyText="Global Search" Width="225px"></ext:TextField>
                                        <ext:DateField runat="server" ID="_dateFrom" EmptyText="Date From" Width="125px"></ext:DateField>
                                        <ext:ComboBox runat="server" ID="_status" Editable="false" Width="125px" >
                                            <SelectedItem Value="OPEN" />
                                            <Items>
                                                <ext:ListItem Text="ALL" Value="" />
                                                <ext:ListItem Text="OPEN" Value="OPEN" />
                                                <ext:ListItem Text="WON" Value="WON" />
                                                <ext:ListItem Text="LOST" Value="LOST" />
                                            </Items>
                                        </ext:ComboBox>
                                        <ext:Button ID="Button1" runat="server" Type="Submit" Icon="Zoom">
                                        </ext:Button>
                                        <ext:ToolbarFill />
                                        <ext:Label ID="Label1" runat="server" Text="Welcome: " />
                                        <ext:Label runat="server" ID="_user" />
                                        <ext:ToolbarSpacer ID="ToolbarSpacer1" runat="server" Width="5px" />
                                        <ext:ComboBox runat="server" ID="_impersonateCompany" IDMode="Explicit" Width="125px"                                                    
                                                ForceSelection="true"
                                                Editable="false"
                                                TypeAhead="true"                                                        
                                                ValueField="Child" 
                                                DisplayField="Name" 
                                                >
                                            <Items>
                                                <ext:ListItem Text="One" Value="0" />
                                                <ext:ListItem Text="Two" Value="0" />
                                                <ext:ListItem Text="Three" Value="0" />
                                            </Items>
    
                                        </ext:ComboBox>
                                        <ext:ComboBox runat="server" ID="_listType" Editable="false" Width="150px" >
                                            <SelectedItem Value="0" />
                                            <Items>
                                                <ext:ListItem Text="My Quotes" Value="0" />
                                                <ext:ListItem Text="All Quotes" Value="1" />
                                            </Items>
                                        </ext:ComboBox>
                                        <ext:ToolbarSpacer ID="ToolbarSpacer2" runat="server" Width="5px" />
                                    </Items>
                            </ext:Toolbar>    
                        </TopBar>
                        <Content>
                                                <ext:GridPanel 
                                                    ID="grdItems"                                                 
                                                    runat="server" 
                                                    StoreID="_storeQuote"
                                                    AutoExpandColumn="ColumnDescription"                                                     
                                                    Border="false">
                                                    <BottomBar>
                                                        <ext:PagingToolbar ID="_pagingToolbar" runat="server" PageSize="25" StoreID="_storeQuote"/>
                                                    </BottomBar>
                                                    <ColumnModel>
                                                        <Columns>
                                                            <ext:Column DataIndex="Protocol" Header="Quote" Width="120" />
                                                            <ext:Column ColumnID="ColumnDescription" DataIndex="ProjectName" Header="Quote Description"  />
                                                            <ext:Column DataIndex="SpecifierName" Header="Specifier" Width="150" />
                                                            <ext:Column DataIndex="Customer" Header="Customer" Width="180" />
                                                            <ext:Column DataIndex="ExpirationDate" Header="Expiration" Width="100" />                                                            
                                                            <ext:Column DataIndex="OwnerUserId" Header="Owner" Width="100" />
                                                            <ext:Column DataIndex="State" Header="State" Width="100">
                                                                
                                                            </ext:Column> 
                                                        </Columns>                                
                                                    </ColumnModel>
                                                    
                                                    <SelectionModel>
                                                        <ext:RowSelectionModel ID="RowSelectionModel1" runat="server" SingleSelect="true" />
                                                    </SelectionModel>
                                                    
                                                                                                                    
                                                    <LoadMask ShowMask="true" />   
                                                    
                                                </ext:GridPanel>
                                        </Content>
    
                                </ext:Panel>
                                        
                            </Center>
                                    
                    </ext:BorderLayout>
                </Content>
            </ext:Viewport>
    
    
    </body>
    </html>
    Thank you

    Stefano
  4. #4
    Hi,

    Thanks for the sample. Fixed in SVN
    Please update
  5. #5
    Tested, works!

    Thank you so much!!
    You are #1 :)

    Stefano

Tags for this Thread

Posting Permissions