Ext.toast not showing

  1. #1

    Ext.toast not showing

    Hi Not sure what I am missing. Copied the example from the mobile examples, but the Ext.toast does not want to show. Code below.

    <%@ Register Assembly="Ext.Net.Mobile" Namespace="Ext.Net.Mobile" TagPrefix="ext" %><!DOCTYPE html>
    <body>
        <form>
            <ext:ResourceManager runat="server" ID="rmMainMenu"></ext:ResourceManager>
    
    
            <ext:Container ID="Container1" runat="server">
                <LayoutConfig>
                    <ext:VBoxLayoutConfig Pack="Center" Align="Stretch" />
                </LayoutConfig>
                <Items>
                    <ext:Container ID="Container2" runat="server" Flex="1">
                        <LayoutConfig>
                            <ext:HBoxLayoutConfig Align="Center" />
                        </LayoutConfig>
                        <Defaults>
                            <ext:Parameter Name="flex" Value="1" Mode="Raw" />
                            <ext:Parameter Name="margin" Value="10" Mode="Raw" />
                        </Defaults>
                        <Items>
                            <ext:Button ID="Button1" runat="server" Text="Normal" Handler="Ext.toast('User tapped Round', 500);" />
                            <ext:Button ID="Button2" runat="server" Text="Round" UI="Round" Handler="Ext.toast('User tapped Round', 500);" />
                            <ext:Button ID="Button3" runat="server" Text="Small" UIName="small" Handler="Ext.toast('User tapped Small', 500);" />
                        </Items>
                    </ext:Container>
    
    
                    <ext:Container ID="Container3" runat="server" Flex="1">
                        <LayoutConfig>
                            <ext:HBoxLayoutConfig Align="Center" />
                        </LayoutConfig>
                        <Defaults>
                            <ext:Parameter Name="flex" Value="1" Mode="Raw" />
                            <ext:Parameter Name="margin" Value="10" Mode="Raw" />
                        </Defaults>
                        <Items>
                            <ext:Button ID="Button4" runat="server" Text="Action" UI="Action" Handler="Ext.toast('User tapped Action', 500);" />
                            <ext:Button ID="Button5" runat="server" Text="Round" UI="ActionRound" Handler="Ext.toast('User tapped Action Round', 500);" />
                            <ext:Button ID="Button6" runat="server" Text="Small" UIName="action small" Handler="Ext.toast('User tapped Action Small', 500);" />
                        </Items>
                    </ext:Container>
    
    
                    <ext:Container ID="Container4" runat="server" Flex="1">
                        <LayoutConfig>
                            <ext:HBoxLayoutConfig Align="Center" />
                        </LayoutConfig>
                        <Defaults>
                            <ext:Parameter Name="flex" Value="1" Mode="Raw" />
                            <ext:Parameter Name="margin" Value="10" Mode="Raw" />
                        </Defaults>
                        <Items>
                            <ext:Button ID="Button7" runat="server" Text="Decline" UI="Decline" Handler="Ext.toast('User tapped Decline', 500);" />
                            <ext:Button ID="Button8" runat="server" Text="Round" UI="DeclineRound" Handler="Ext.toast('User tapped Decline Round', 500);" />
                            <ext:Button ID="Button9" runat="server" Text="Small" UIName="decline small" Handler="Ext.toast('User tapped Decline Small', 500);" />
                        </Items>
                    </ext:Container>
    
    
                    <ext:Container ID="Container5" runat="server" Flex="1">
                        <LayoutConfig>
                            <ext:HBoxLayoutConfig Align="Center" />
                        </LayoutConfig>
                        <Defaults>
                            <ext:Parameter Name="flex" Value="1" Mode="Raw" />
                            <ext:Parameter Name="margin" Value="10" Mode="Raw" />
                        </Defaults>
                        <Items>
                            <ext:Button ID="Button10" runat="server" Text="Confirm" UI="Confirm" Handler="Ext.toast('User tapped Confirm', 500);" />
                            <ext:Button ID="Button11" runat="server" Text="Round" UI="ConfirmRound" Handler="Ext.toast('User tapped Confirm Round', 500);" />
                            <ext:Button ID="Button12" runat="server" Text="Small" UIName="confirm small" Handler="Ext.toast('User tapped Confirm Small', 500);" />
                        </Items>
                    </ext:Container>
                </Items>
            </ext:Container>
        </form>
    </body>
    Last edited by geoffrey.mcgill; Mar 30, 2020 at 5:29 PM.

Similar Threads

  1. [CLOSED] Showing Ext Windows
    By UnifyEducation in forum 2.x Premium Help
    Replies: 3
    Last Post: Sep 20, 2012, 6:48 PM
  2. [CLOSED] Ext.NET control not showing
    By marco.morreale in forum 2.x Premium Help
    Replies: 3
    Last Post: Apr 18, 2012, 2:15 PM
  3. [CLOSED] scrollbar not showing in ext:panel
    By nhg_itd in forum 1.x Premium Help
    Replies: 1
    Last Post: Sep 23, 2011, 8:18 AM
  4. EXT Icons not showing!
    By Charlene in forum 1.x Help
    Replies: 1
    Last Post: May 01, 2011, 11:18 AM
  5. [CLOSED] ext Window Showing Problem
    By yaser82 in forum 1.x Help
    Replies: 4
    Last Post: Oct 07, 2008, 6:10 PM

Posting Permissions