[CLOSED] Inconsistent error handling (chrome/ie)

  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.
  2. #2
    Hello @Z!

    Thanks for providing the runnable test case! I tested it here and it performs identically in both Edge and Chrome, tough.

    You could keep a copy of the Examples Explorer Project from github to test issues against latest Ext.NET versions without affecting your project.

    Please refrain from using asap and similar terms and expressions, as in accordance to our Forum Guidelines For Posting New Topics item #5 and More Information Required item #4, as this may lead to delays in getting your response.

    I hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    I will retest this next month when we move to latest Ext4 version.
    Removed asap.
    /z
  4. #4
    Hello @Z!

    Thanks for understanding, and we're looking forward to your follow-up! Shall we mark this as closed for now?
    Fabrício Murta
    Developer & Support Expert
  5. #5
    That's fine for now.
    /Z

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