[CLOSED] Not show icon

  1. #1

    [CLOSED] Not show icon

    I create control dynamic but not show icon in code file, show me please:

     <script runat="server">
            Ext.Net.Button btnemail = new Ext.Net.Button();
            btnemail.ID = "btnemail" + idw;
            btnemail.Icon = Icon.Email;
    </script>
    Last edited by Daniil; Jun 12, 2012 at 4:33 PM. Reason: [CLOSED]
  2. #2
    Please post a simplified .aspx code sample demonstrating the complete scenario.

    Please review the following documents:

    http://forums.ext.net/showthread.php...ing-New-Topics

    http://forums.ext.net/showthread.php...ation-Required
    Geoffrey McGill
    Founder
  3. #3
    Quote Originally Posted by geoffrey.mcgill View Post
    Please post a simplified .aspx code sample demonstrating the complete scenario.

    Please review the following documents:

    http://forums.ext.net/showthread.php...ing-New-Topics

    http://forums.ext.net/showthread.php...ation-Required
    I create control dynamic but not show icon in code file, show me please:
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
     <script runat="server" > 
        
    
         protected void Page_Load(object sender, EventArgs e)
         {
             Window win = new Window()
             {
                 Title = "UM",
                 ID = "Window_",
                 Minimizable = true,
                 Maximizable = true,
                 Width = 330,
                 Height = 470,
                 Layout = "FitLayout"
    
             };
             Ext.Net.Button btnemail = new Ext.Net.Button();
             btnemail.ID = "btnemail";
             btnemail.Icon = Icon.Email;
    
             win.Items.Add(btnemail);
    
             win.Render();
         }
     </script>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Untitled Page</title>
       
    </head>
    <body>
        <form id="form1" runat="server">
            <div>
                <ext:ResourceManager runat="server" /> 
                  
            </div>
        </form>
    </body>
    </html>
  4. #4
    Hi,

    When I run the page I see the Button with the Email icon.

    Could you post a screenshot how it looks on your side? What is an image request response?

    What Ext.NET sources do you use?
  5. #5
    Quote Originally Posted by Daniil View Post
    Hi,

    When I run the page I see the Button with the Email icon.

    Could you post a screenshot how it looks on your side? What is an image request response?

    What Ext.NET sources do you use?

    result when i build code:
    Click image for larger version. 

Name:	um.png 
Views:	75 
Size:	5.4 KB 
ID:	4338
  6. #6
    Ok. I am unable to reproduce it.

    Please answer these questions as well.

    Quote Originally Posted by Daniil View Post
    What is an image request response?

    What Ext.NET sources do you use?
    Please try with some other icon. Is it also not rendered?

    Also please note that an icon won't be stretched up. It will stay 16x16.

Similar Threads

  1. [CLOSED] Ext icon not show
    By RCM in forum 2.x Legacy Premium Help
    Replies: 6
    Last Post: Aug 09, 2012, 4:58 PM
  2. [CLOSED] ext:MenuPanel: I wish show a 32x32 or 48x48 icon.
    By supera in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 28, 2012, 8:27 PM
  3. [CLOSED] Indicator Icon Does'nt show in CompositeField
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 14
    Last Post: Nov 10, 2011, 4:01 PM
  4. Replies: 5
    Last Post: Mar 05, 2010, 3:15 PM
  5. StatusBarStatusConfig doesn't show icon
    By apre in forum 1.x Help
    Replies: 2
    Last Post: Oct 22, 2009, 9:15 AM

Posting Permissions