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. ImageButton problem.

ImageButton problem.

Scheduled Pinned Locked Moved Web Development
sysadminhelptutorial
3 Posts 2 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.
  • J Offline
    J Offline
    Junior Boy
    wrote on last edited by
    #1

    I have problem with the ImageButton control it doesn't show image that I already set ImageURL property. Actually it work fine on my local machine but after I uploaded to the server it doesn't display the image but it still worked fine with the Click Event.Another image worked fine example background image that has the same folder path. Any suggestion would be appreciated. Thank you very much,

    junior boy

    L 1 Reply Last reply
    0
    • J Junior Boy

      I have problem with the ImageButton control it doesn't show image that I already set ImageURL property. Actually it work fine on my local machine but after I uploaded to the server it doesn't display the image but it still worked fine with the Click Event.Another image worked fine example background image that has the same folder path. Any suggestion would be appreciated. Thank you very much,

      junior boy

      L Offline
      L Offline
      Luay Essa
      wrote on last edited by
      #2

      See the HTML source code for the uploaded page after browsing it. Check the path of the image.

      J 1 Reply Last reply
      0
      • L Luay Essa

        See the HTML source code for the uploaded page after browsing it. Check the path of the image.

        J Offline
        J Offline
        Junior Boy
        wrote on last edited by
        #3

        Thank you Luay. I got it. Actually I have tried this ImageButton1.ImageURL=Server.MapPath"???????"; Is there any wrong or can I can programming like above? Anyway, thank you very much again for yr help :)

        junior boy

        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