[CLOSED] Linked Comboboxes Mask

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] Linked Comboboxes Mask

    There is a problem clearing the mask on linked comboboxes.

    Using your example: (examples2.ext.net/#/Form/ComboBox/Linked_ComboBoxes/) ... if you select Belgium the cities load fine and the mask clears. Then select Brazil. The cities also load fine but the mask does not clear.
    Last edited by Daniil; Feb 03, 2012 at 7:35 AM. Reason: [CLOSED]
  2. #2
    Hi,

    I was unable to reproduce.

    What browser do you test with?
  3. #3
    Problem occurs in ie9, Firefox and Chrome. You need to select a city each time (as well as a country) and you'll find the loading mask will not disappear on the city combobox after multiple selections.
  4. #4
    Confirmed.

    Though it's not reproducible with the latest Ext.NET v2 sources.

    It would be rather hard to provide you with a fix, because it's related to many things. Please wait the next release.
  5. #5
    Thanks for the update and happy to wait for the next Ext.Net release for the fix. You can close this thread.
    A.
  6. #6
    Hi,

    I've this issue too and i'm using Ext.Net v2.
    The problem occurs also with the linked comboboxes and when the loading of the linked combobox takes a little bit longer. Then the mask doesn't disappear.
    So it's only when i already click the trigger of the linked combobox when the loading is not finished yet.

    Kind Regards
  7. #7
    Hi @Birgit,

    Could you provide us with exact steps to reproduce? I was unable to reproduce it.
  8. #8
    Hi Daniil,

    I finally managed to produce an example. I think the cause is the autorender option i use:

    <%@ Page Language="VB" AutoEventWireup="false" Culture="auto" uiculture="auto" %>
    
    <!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></title>
    
        <script runat="server">
            <DirectMethod()> _
            Public Sub LoadStore1()
                Me.Store1.Reload()
                Me.Window1.Show()
            End Sub
            
            Protected Sub Store1_Read(ByVal Sender As Object, ByVal e As StoreReadDataEventArgs)
                Dim _Data As New System.Data.DataTable
                Dim _DataRow As System.Data.DataRow
                Dim _Index01 As Integer
                
                _Data.Columns.Add(New System.Data.DataColumn("ID", GetType(Integer)))
                _Data.Columns.Add(New System.Data.DataColumn("DisplayName", GetType(System.String)))
                
                For _Index01 = 0 To 10
                    _DataRow = _Data.NewRow()
                    _DataRow("ID") = _Index01
                    _DataRow("DisplayName") = String.Concat("DisplayName" & _Index01)
                    _Data.Rows.Add(_DataRow)
                Next
                
                Me.Store1.DataSource = _Data
                Me.Store1.DataBind()
            End Sub
            
        </script>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <ext:ResourceManager ID="ResourceManager1" runat="server" DirectMethodNamespace="ParentMethods" /> 
             
            <ext:Button ID="btnLoad" runat="server" Text="LoadStore">
                <Listeners>
                    <Click Handler="ParentMethods.LoadStore1();" />
                </Listeners>
            </ext:Button>
    
            <ext:Window ID="Window1" runat="server" 
                Title="Gridpanel Mask" 
                Width="730px" 
                Height="630px"
                Resizable="False"
                Closable="False"
                Modal="True"
                layout="FormLayout" 
                BodyPadding="10"
                AutoRender="False">
                <Items>
                    
                    <ext:GridPanel ID="GridPanel1" runat="server" Height="400">
                        <Store>
                            <ext:Store runat="server" ID="Store1" OnReadData="Store1_Read" AutoLoad="false" >
                                <Model>
                                    <ext:Model runat="server" IDProperty="ID">
                                        <Fields>
                                            <ext:ModelField Name="DisplayName" />
                                            <ext:ModelField Name="ID" />
                                        </Fields>
                                    </ext:Model>
                                </Model>
                            </ext:Store>
                        </Store>
                        <ColumnModel>
                            <Columns>
                                <ext:Column ID="colDisplayName" runat="server" DataIndex="DisplayName" Text="DisplayName" Flex="1" />
                            </Columns>
                        </ColumnModel>
                    </ext:GridPanel>
                </Items>    
            </ext:Window> 
           
        </div>
        </form>
    </body>
    </html>
    Last edited by geoffrey.mcgill; Dec 22, 2012 at 12:59 AM.
  9. #9
    Thank you for the sample.

    Please use Hidden="true" instead of AutoRender="false".

    Or load the Store into a WIndow's AfterRender listener.
  10. #10
    Hi Daniil,

    Thanx! but are there no other possibilities? Because i use the autorender for performance issues. And i also want the store to be loaded before the window is shown.
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] Linked Comboboxes
    By romeu in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: May 11, 2012, 4:42 PM
  2. Linked comboboxes in a from
    By Peter P in forum 1.x Help
    Replies: 2
    Last Post: Apr 26, 2010, 1:47 PM
  3. Linked ComboBoxes
    By speddi in forum 1.x Help
    Replies: 2
    Last Post: Apr 10, 2010, 3:21 PM
  4. Linked comboboxes
    By hbbazan in forum 1.x Help
    Replies: 2
    Last Post: Jan 11, 2010, 6:53 AM
  5. Linked Comboboxes
    By BrunoC in forum 1.x Help
    Replies: 4
    Last Post: Jan 29, 2009, 12:58 PM

Posting Permissions