[CLOSED] Inconsistent error handling (chrome/ie)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Inconsistent error handling (chrome/ie)

    Support,

    Please review complete standalone code sample below. First run it in Edge. When it opens, just tab through it. notice the Allowblank=true so you get an error for every cell you tab out of. the cell shrinks to make space for the exclamation icon.

    Now do it on Chrome. the cell does NOT properly shrink.

    Please note this was tested against EXT 4.2.2.

    thanks,
    /Z

    <%@ Page Language="C#" %>  
    
    
    <!DOCTYPE html>
    
    
    <html>
        <body>
    
    
            <form runat="server">
    
    
                <ext:ResourceManager ID="ResourceManager1" runat="server" Theme="Neptune">
                </ext:ResourceManager>
        
                <ext:Viewport ID="Viewport1" runat="server" Layout="VBoxLayout">          
                    <LayoutConfig>
                        <ext:VBoxLayoutConfig Align="Center" Pack="Start" />
                    </LayoutConfig>
                    <Items>
                       <ext:Container runat="server" ID="dfgdfg">
                            <LayoutConfig>
                                <ext:VBoxLayoutConfig Align="Center" Pack="Center" />
                            </LayoutConfig>
                            <Items>
                                <ext:Panel Layout="CardLayout" runat="server" AutoWidth="true" ActiveIndex="0" MarginSpec="10 10 10 10" ID="wwww" Width="900">
                                    <Items>
                                        <ext:FormPanel
                                            ID="Form1"
                                            runat="server"
                                            Title="Information"
                                            BodyPadding="5"
                                            ButtonAlign="Right"
                                            Layout="ColumnLayout">
                                            <Items>
                                                <ext:Container
                                                    runat="server" Border="false" Header="false" Layout="Form" ColumnWidth=".5" LabelAlign="Top">
                                                    <Defaults>
                                                        <ext:Parameter Name="MsgTarget" Value="side" />
                                                    </Defaults>
                                                    <Items>
                                                        <ext:FieldSet runat="server" Title="Details">
                                                            <Items>
                                                                <ext:TextField runat="server" AllowBlank="false" FieldLabel="First Name" Vtype="alpha" AnchorHorizontal="92%" />
                                                                <ext:TextField runat="server" FieldLabel="Middle Initial" Vtype="alpha" AllowBlank="true"  AnchorHorizontal="92%" MaxLengthText="1" />
                                                                <ext:TextField runat="server" FieldLabel="Last Name" Vtype="alpha" AllowBlank="false" AnchorHorizontal="92%" />
                                                            </Items>
                                                        </ext:FieldSet>
                                                    </Items>
                                                </ext:Container>
                                                <ext:Container runat="server" Border="false" Header="false" Layout="Form" ColumnWidth=".5" LabelAlign="Top">
                                                    <Defaults>
                                                        <ext:Parameter Name="MsgTarget" Value="side" />
                                                    </Defaults>
                                                    <Items>
                                                        <ext:FieldSet runat="server" Title="Address Details"> 
                                                            <Items>
                                                                <ext:TextField runat="server" AllowBlank="false" FieldLabel="Address1" AnchorHorizontal="92%" />
                                                                <ext:TextField runat="server" AllowBlank="true" FieldLabel="Address2" AnchorHorizontal="92%" />
                                                                <ext:TextField runat="server" FieldLabel="City" AllowBlank="false" AnchorHorizontal="92%" />
                                                                <ext:TextField runat="server" FieldLabel="State" AllowBlank="false" AnchorHorizontal="92%" />
                                                                <ext:TextField runat="server" FieldLabel="Zip" AllowBlank="false" AnchorHorizontal="92%" />
                                                            </Items>
                                                        </ext:FieldSet>
                                                    </Items>
                                                </ext:Container>
                                            </Items>
                                            <BottomBar>
                                                <ext:StatusBar ID="sbar" runat="server" />
                                            </BottomBar>
                                        </ext:FormPanel>
                                    </Items>
                                </ext:Panel>
                            </Items>
                        </ext:Container>
                    </Items>
                </ext:Viewport>
            </form>
        </body>
    </html>
    Last edited by fabricio.murta; Jul 03, 2018 at 4:50 PM.

Similar Threads

  1. Global AJAX error handling in MVC Controllers
    By anup in forum Examples and Extras
    Replies: 6
    Last Post: Jan 07, 2015, 8:23 PM
  2. [CLOSED] Javascript Global Error Handling
    By adelaney in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 20, 2012, 8:30 PM
  3. [CLOSED] Grid Error Handling
    By adelaney in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Jun 11, 2012, 8:37 PM
  4. Global Error Handling
    By wdk in forum 1.x Help
    Replies: 2
    Last Post: Apr 03, 2012, 2:34 AM
  5. [CLOSED] [8.2] PageTreeLoader - error handling in OnNodeLoad
    By mrozik in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 13, 2010, 7:40 PM

Posting Permissions