[CLOSED] Image : Dynamically add Image not displayed

  1. #1

    [CLOSED] Image : Dynamically add Image not displayed

    Hi,
    I take some idea from http://forums.ext.net/showthread.php...ll=1#post67795 and try bellow code.

    <ext:Viewport runat="server" ID="vp1" Layout="BorderLayout">
            <Items>
            </Items>
        </ext:Viewport>
      vp1.Items.Clear();
    Ext.Net.Image image = new Ext.Net.Image { ImageUrl = Server.MapPath("/f1/f2/f3/f4/Image/samplereort.png") };
    vp1.Items.Add(image);
    image.Render();
    But image not displayed ,if assign an image url direct from internet then image displayed .
    Last edited by Daniil; Jan 16, 2015 at 9:17 AM. Reason: [CLOSED]
  2. #2
    Hi @matrixwebtech,

    What is a resulting ImageUrl of this?
    ImageUrl = Server.MapPath("/f1/f2/f3/f4/Image/samplereort.png")
    if assign an image url direct from internet then image displayed
    What is the URL?

    The idea is to compare the URLs. Probably, there is a difference.

Similar Threads

  1. Replies: 1
    Last Post: Jul 30, 2014, 6:12 AM
  2. how to load image dynamically?
    By hongxue in forum 2.x Help
    Replies: 0
    Last Post: Sep 08, 2013, 7:45 AM
  3. Replies: 1
    Last Post: May 16, 2012, 12:57 PM
  4. [CLOSED] ext:Image - How I can show a menu when click in ext:Image?
    By supera in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: May 10, 2012, 8:56 PM
  5. Add Image to grid dynamically
    By ajaybabu.maddinani in forum 1.x Help
    Replies: 0
    Last Post: Jun 29, 2010, 10:48 AM

Posting Permissions