[CLOSED] Combobox loading message issue.

  1. #1

    [CLOSED] Combobox loading message issue.

    The loading message of the combobox comes outside the combo area. Please have a look at the attached image.
    Attached Thumbnails Click image for larger version. 

Name:	cmb.png 
Views:	12 
Size:	10.1 KB 
ID:	17251  
    Last edited by Daniil; Dec 31, 2014 at 2:56 PM. Reason: [CLOSED]
  2. #2
    Hi @arjunrvasisht,

    Please provide a test case to reproduce.
  3. #3
    Hi Daniil, below is the code. As per the image i have attached previously there are 4 combobox. The combo withthe id "CmbProgram" is the one where the loading mask issue is. You can see I have defined the loading message in the list config. Even though it was coming outside. The loading message which is there in the image is of the panel.

     <ext:Container ID="CntrYMP" runat="server" Layout="HBoxLayout" Width="1400px">
                            <Defaults>
                                <ext:Parameter Name="margins" Value="3 3 3 3 3 " Mode="Value" />
                            </Defaults>
                            <Content>
                                <ext:ComboBox ID="CmbYear" runat="server" FieldLabel="Year<span class='foreColorRed'>*</span>"
                                    LabelAlign="Top" Selectable="true" DisplayField="Year" ValueField="YearId" TypeAhead="true"
                                    Mode="Local" ForceSelection="true" SelectOnFocus="false" Width="100">
                                    <Store>
                                        <ext:Store ID="StoreYear" runat="server">
                                            <Model>
                                                <ext:Model ID="Model1" runat="server">
                                                    <Fields>
                                                        <ext:ModelField Name="YearId" Type="Int" />
                                                        <ext:ModelField Name="Year" Type="String" />
                                                    </Fields>
                                                </ext:Model>
                                            </Model>
                                        </ext:Store>
                                    </Store>
                                    <Listeners>
                                        <SpecialKey Fn="PreventEscape" PreventDefault="true" />
                                        <AfterRender Handler="fixComboArrow('#{CmbYear}')" />
                                    </Listeners>
                                    <DirectEvents>
                                        <Select OnEvent="ddlTier3_SelectedIndexChanged">
                                            <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Loading%>" Target="CustomTarget"
                                                CustomTarget="#{fsErlData}" ShowMask="true" />
                                        </Select>
                                    </DirectEvents>
                                </ext:ComboBox>
                                <ext:ComboBox ID="CmbMonth" runat="server" FieldLabel="Month<span class='foreColorRed'>*</span>"
                                    LabelAlign="Top" Selectable="true" DisplayField="Month" ValueField="MonthId" TypeAhead="true"
                                    Mode="Local" ForceSelection="true" SelectOnFocus="false" Width="100">
                                    <Store>
                                        <ext:Store ID="StoreMonth" runat="server">
                                            <Model>
                                                <ext:Model ID="Model2" runat="server">
                                                    <Fields>
                                                        <ext:ModelField Name="MonthId" Type="Int" />
                                                        <ext:ModelField Name="Month" Type="String" />
                                                    </Fields>
                                                </ext:Model>
                                            </Model>
                                        </ext:Store>
                                    </Store>
                                    <Listeners>
                                        <SpecialKey Fn="PreventEscape" PreventDefault="true" />
                                        <AfterRender Handler="fixComboArrow('#{CmbMonth}')" />
                                    </Listeners>
                                    <DirectEvents>
                                        <Select OnEvent="ddlTier3_SelectedIndexChanged">
                                            <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Loading%>" Target="CustomTarget"
                                                CustomTarget="#{fsErlData}" ShowMask="true" />
                                        </Select>
                                    </DirectEvents>
                                </ext:ComboBox>
                                <ext:ComboBox ID="CmbProgram" Resizable="false" Width="350" runat="server" FieldLabel="Search Program<span class='foreColorRed'>*</span>"
                                    LabelAlign="Top" DisplayField="Programname" ValueField="ProgramId"
                                    EmptyText="<%$ Resources:WebResource,WaterMark_Search%>"
                                    MinChars="2" Note="<%$ Resources:WebResource,GenericMsg_SearchLenth_Project%>"
                                    NoteCls="myNoteCls" Selectable="true">
                                    <Store>
                                        <ext:Store ID="StorePrograms" runat="server" OnReadData="StrPrograms_Refresh">
                                            <Proxy>
                                                <ext:PageProxy />
                                            </Proxy>
                                            <Model>
                                                <ext:Model ID="Model3" runat="server">
                                                    <Fields>
                                                        <ext:ModelField Name="ProgramId" Type="String" />
                                                        <ext:ModelField Name="Programname" Type="String" />
                                                    </Fields>
                                                </ext:Model>
                                            </Model>
                                        </ext:Store>
                                    </Store>
                                    <Listeners>
                                        <SpecialKey Fn="PreventEscape" PreventDefault="true" />
                                        <BeforeSelect Handler="#{ddlTier3}.clearValue();#{BtnErlSave}.disable();#{BtnReset}.disable();#{pntErlData}.hide();#{LnkBtnDocUpload}.hide();" />
                                        <AfterRender Handler="fixComboArrow('#{CmbProgram}');" />
                                    </Listeners>
                                    <DirectEvents>
                                        <Select OnEvent="CmbProgram_SelectedIndexChanged">
                                        </Select>
                                    </DirectEvents>
                                    <%--  <ListConfig ID="ListConfig1" runat="server" LoadingText="Searching..."></ListConfig>--%>
                                    <ToolTips>
                                        <ext:ToolTip ID="TTprgtp" runat="server">
                                            <Listeners>
                                                <Show Handler="showComboToolTip(#{TTprgtp},#{CmbProgram})" />
                                            </Listeners>
                                        </ext:ToolTip>
                                    </ToolTips>
                                </ext:ComboBox>
                                <ext:ComboBox TabIndex="3" ID="ddlTier3" FieldLabel="Tier3<span class='foreColorRed'>*</span>"
                                    LabelAlign="Top" runat="server" DisplayField="Name" EmptyText="<%$ Resources:WebResource,WaterMark_Select%>"
                                    ValueField="EnggTier3Id" Width="322" Selectable="true" Resizable="false" MaxLength="100"
                                    Mode="Local">
                                    <Store>
                                        <ext:Store ID="StoreTier3" runat="server">
                                            <Model>
                                                <ext:Model ID="Model4" IDProperty="Tier3Id" runat="server">
                                                    <Fields>
                                                        <ext:ModelField Name="EnggTier3Id" Type="Int" />
                                                        <ext:ModelField Name="Name" Type="String" />
                                                    </Fields>
                                                </ext:Model>
                                            </Model>
                                        </ext:Store>
                                    </Store>
                                    <Listeners>
                                        <SpecialKey Fn="PreventEscape" PreventDefault="true" />
                                        <Select Handler="#{BtnErlSave}.enable();#{BtnReset}.enable();#{pntErlData}.show()" />
                                    </Listeners>
                                    <DirectEvents>
                                        <Select OnEvent="ddlTier3_SelectedIndexChanged">
                                            <EventMask Msg="<%$ Resources:WebResource,GeneralMsg_Loading%>" Target="CustomTarget"
                                                CustomTarget="#{fsErlData}" ShowMask="true" />
                                        </Select>
                                    </DirectEvents>
                                </ext:ComboBox>
                                <ext:LinkButton ID="LnkBtnDocUpload" runat="server" Text="Document Upload Form" Font-Names="Arial"
                                    Font-Size="8.5pt" Font-Bold="false" Hidden="true" PaddingSpec="0 100">
                                    <DirectEvents>
                                        <Click OnEvent="LnkBtnDocUpload_Click">
                                        </Click>
                                    </DirectEvents>
                                </ext:LinkButton>
                            </Content>
                        </ext:Container>
  4. #4
    Sorry, I cannot run. Please provide a runnable test case.

Similar Threads

  1. How to show loading message..
    By antoreegan in forum 2.x Help
    Replies: 1
    Last Post: Dec 17, 2014, 11:05 AM
  2. [CLOSED] Gridpanel loading message does not show help me
    By cottimucin in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 25, 2014, 10:29 AM
  3. [CLOSED] Loading message
    By jstifel in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 31, 2012, 1:34 PM
  4. Replies: 9
    Last Post: Nov 27, 2012, 11:16 PM
  5. Loading message for a grid
    By angelolsantos in forum 1.x Help
    Replies: 2
    Last Post: Oct 08, 2009, 2:52 PM

Tags for this Thread

Posting Permissions