[FIXED] [1.4] [2.0] Icon Name Rendering

  1. #1

    [FIXED] [1.4] [2.0] Icon Name Rendering

    I have 2 test panel with icons. However, if a icon name contains "I", it doesn't render. I think, my language (Turkish) causes this issue. Because in our language has upper " I " and lower " ı ". (not " i ")

    Attach 1 : Icons.Images not shown,
    Attach 2 : In page source code, I saw "icon-ımages" (not " images ")
    Attach 3 : ASP.NET source code.

    May it be a bug? Or my mistake? (My .NET language is EN-US, my OS's language is EN-US, ... only my System's Format (date,time,etc..) is TR-TR)

    How can I force ext.net to render correct format?

    Click image for larger version. 

Name:	s1.png 
Views:	123 
Size:	7.8 KB 
ID:	3892Click image for larger version. 

Name:	s2.png 
Views:	116 
Size:	42.3 KB 
ID:	3893Click image for larger version. 

Name:	s3.png 
Views:	94 
Size:	10.7 KB 
ID:	3894

    OS : Windows 7 SP1 - EN-US
    EDITOR : Visual Studio 2010 SP1 - EN-US
    FRAMEWORK : .NET 4.0 EN-US

    All of them are up-to-date
    Last edited by geoffrey.mcgill; Mar 05, 2012 at 11:45 PM. Reason: [FIXED]
  2. #2
    Thanks for the report. I was able to reproduce the issue when using the "tr-TR" culture.

    Here's a full sample which reproduces the problem.

    Example

    <%@ Page Language="C#" Culture="tr-TR" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    
    <!DOCTYPE html>
    
    
    <html>
    <head runat="server">
        <title>Ext.NET Examples</title>
    </head>
    <body>
    <form runat="server">
        <ext:ResourceManager runat="server" />
        
        <ext:Button runat="server" Text="Submit" Icon="Images" />
    </form>
    </body>
    </html>
    We're looking into a fix.
    Geoffrey McGill
    Founder
  3. #3
    Geoffrey McGill
    Founder
  4. #4
    Fixed. See SVN revision: 3854
    Geoffrey McGill
    Founder
  5. #5
    Here's a sample demonstrating how to work-around the problem until you can upgrade to the SVN build or next public release (v1.4?).

    Example

    <%@ Page Language="C#" Culture="tr-TR" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    
    <!DOCTYPE html>
    
    
    <html>
    <head runat="server">
        <title>Ext.NET Examples</title>
    
    
        <style type="text/css">
            .icon-images {
                background-image  : url("/icons/images-png/ext.axd") !important;
                background-repeat : no-repeat;
            }
        </style>
    </head>
    <body>
    <form runat="server">
        <ext:ResourceManager runat="server" />
        
        <ext:Button runat="server" Text="Submit" IconCls="icon-images" />
    </form>
    </body>
    </html>
    Hope this helps.
    Geoffrey McGill
    Founder
  6. #6
    Yes, it works. Thanks your very fast reply.

Similar Threads

  1. [CLOSED] Flat button icon is not rendering as transparent
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Apr 20, 2011, 8:16 PM
  2. Replies: 2
    Last Post: Mar 22, 2011, 8:06 PM
  3. Replies: 3
    Last Post: Aug 03, 2009, 6:58 PM
  4. Replies: 1
    Last Post: Oct 01, 2008, 1:19 PM
  5. Replies: 1
    Last Post: Sep 16, 2008, 10:45 AM

Tags for this Thread

Posting Permissions