[CLOSED] iconCls doesn't work

  1. #1

    [CLOSED] iconCls doesn't work

    Hi

    The iconCls property does not work properly, I have replicated the example "MessageBox - Notification - Notification Client-Side" but as you can see in the picture icon is not displayed.

    Where should the file icon in my project? Either this is included in the DLLs.

    Thank You

    <%@ Page Language="C#" %>
        
    <script runat="server">
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!X.IsAjaxRequest)
            {
                this.ResourceManager1.RegisterIcon(Icon.Information);
            }
        }
    </script>
    
    <!DOCTYPE html>
    
    <html>
    <head runat="server">
        <title>Summary of Client-Side Notification Options - Ext.NET Examples</title>  
        <style>
            .menu-label {
                border-bottom : dotted 1px;
                margin-left   : 25px;
            }
        </style> 
        
        <script>
            var stub = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ...";
        </script>
    </head>
    <body>
        <ext:ResourceManager ID="ResourceManager1" runat="server" />
        
        <ext:Window 
            ID="Window1" 
            runat="server" 
            Title="Notifications" 
            Width="300" 
            Height="350" 
            Layout="Accordion">
            <Items>
                <ext:MenuPanel runat="server" Title="Content Functionality" SaveSelection="false">
                    <Menu runat="server">
                        <Items>                        
                            <ext:MenuItem runat="server" Text="Show with Content Element">
                                <Listeners>
                                    <Click Handler="
                                        Ext.net.Notification.show({
                                            listeners    : {
                                                beforeshow : {
                                                    fn : function (el) { 
                                                        #{BarLabel}.setText(Ext.Date.format(new Date(), 'g:i:s A'));
                                                    }
                                                }
                                            },
                                            iconCls      : 'icon-information',
                                            closeVisible : true,
                                            autoHide     : false,
                                            height       : 150,
                                            contentEl    : 'customEl',
                                            title        : 'Titleeeeeeeeeeee'
                                        });" />
                                </Listeners>
                            </ext:MenuItem>
                        </Items>
                    </Menu>
                </ext:MenuPanel>
                
            </Items>      
        </ext:Window>
        
        <div id="customEl" class="x-hidden">
            <ext:Panel runat="server" Border="false" BodyPadding="2" Html="={stub}" Height="113" Width="180">
                <BottomBar>
                    <ext:Toolbar runat="server">
                        <Items>
                            <ext:ToolbarTextItem ID="BarLabel" runat="server" />
                            <ext:ToolbarFill runat="server" />
                            <ext:Button runat="server" Icon="Add" />
                            <ext:Button runat="server" Icon="Email" />
                        </Items>
                    </ext:Toolbar>
                </BottomBar>
            </ext:Panel>
        </div>
    </body>
    </html>
    Attached Thumbnails Click image for larger version. 

Name:	iconCls.png 
Views:	17 
Size:	13.6 KB 
ID:	18371  
    Last edited by Daniil; Jan 08, 2015 at 11:00 AM. Reason: [CLOSED]
  2. #2
    Hi @enriqueaperezb,

    Welcome to the Ext.NET forums!

    I think it has been already fixed in SVN.
    http://forums.ext.net/showthread.php?47591

    Please update from SVN.
    http://svn.ext.net/premium/branches/2
  3. #3
    If you use Ext.Net v3 then SVN path is
    http://svn.ext.net/premium/trunk
  4. #4

    Thanks

    Thank you very much. it works ... tks!
  5. #5
    Yes, it has already been fixed:

    Click image for larger version. 

Name:	ic001.png 
Views:	8 
Size:	49.3 KB 
ID:	18511

Similar Threads

  1. [CLOSED] UploadFile doesn't work
    By AdminAISN in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 30, 2014, 11:47 AM
  2. [CLOSED] Renderer doesn't work
    By Gisystems in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Oct 09, 2013, 10:30 PM
  3. getRowsValues doesn't work
    By teamsar in forum 2.x Help
    Replies: 9
    Last Post: Jan 10, 2013, 2:05 AM
  4. IconCls property on TreeNode does not work
    By captainst in forum 1.x Help
    Replies: 2
    Last Post: Oct 11, 2011, 4:53 PM
  5. [CLOSED] [1.0] Dyanmic Label doesn't render IconCls
    By state in forum 1.x Legacy Premium Help
    Replies: 20
    Last Post: Nov 16, 2009, 4:52 PM

Tags for this Thread

Posting Permissions