Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. image not display

image not display

Scheduled Pinned Locked Moved ASP.NET
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    saravanan05
    wrote on last edited by
    #1

    hi to all this is my codebehind: str = @"D:\aesweb\WebSite\Images\" + "aboutus_bt.gif"; this is my html: <asp:Image ID="kk" ImageUrl="<%= str%>" runat="server" /> here picture not display..is this right regards sara

    Known Is Drop.Unknown Is Ocean

    A I 2 Replies Last reply
    0
    • S saravanan05

      hi to all this is my codebehind: str = @"D:\aesweb\WebSite\Images\" + "aboutus_bt.gif"; this is my html: <asp:Image ID="kk" ImageUrl="<%= str%>" runat="server" /> here picture not display..is this right regards sara

      Known Is Drop.Unknown Is Ocean

      A Offline
      A Offline
      anilpal
      wrote on last edited by
      #2

      hi, As already told this is not correct. please refer my previous post on that.

      Regards Anil Pal

      1 Reply Last reply
      0
      • S saravanan05

        hi to all this is my codebehind: str = @"D:\aesweb\WebSite\Images\" + "aboutus_bt.gif"; this is my html: <asp:Image ID="kk" ImageUrl="<%= str%>" runat="server" /> here picture not display..is this right regards sara

        Known Is Drop.Unknown Is Ocean

        I Offline
        I Offline
        Ibrahim Bello
        wrote on last edited by
        #3

        Your html can't link to the codebehind this way. Copy the path and paste directly into your ImageUrl tag. Also verify that the path to the image is correct. Good luck!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups