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. Datagrid in firefox

Datagrid in firefox

Scheduled Pinned Locked Moved ASP.NET
helpquestion
7 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.
  • R Offline
    R Offline
    Rock Star
    wrote on last edited by
    #1

    Hi, I am using a datagrid to show my data. In my datagrid I have one column it shows the image. My problem is that I can see the images in IE but not in firefox. How can I make my images visible in datagrid for firefox.

    Rock Star

    N 1 Reply Last reply
    0
    • R Rock Star

      Hi, I am using a datagrid to show my data. In my datagrid I have one column it shows the image. My problem is that I can see the images in IE but not in firefox. How can I make my images visible in datagrid for firefox.

      Rock Star

      N Offline
      N Offline
      NeverHeardOfMe
      wrote on last edited by
      #2

      I suspect the issue is nothing to do with the datagrid. What happens if you try displaying the same image just on it's own with a "normal" img tag? If your image path/filename has spaces in it, try replacing them with %20 in the url. Examine the page source code to see exactly what is being sent to the browser.

      R 1 Reply Last reply
      0
      • N NeverHeardOfMe

        I suspect the issue is nothing to do with the datagrid. What happens if you try displaying the same image just on it's own with a "normal" img tag? If your image path/filename has spaces in it, try replacing them with %20 in the url. Examine the page source code to see exactly what is being sent to the browser.

        R Offline
        R Offline
        Rock Star
        wrote on last edited by
        #3

        There is no pace in the path I have given for the image. Problem is I can see the image in dadatgrid column in IE but not in the firefox. I just see the blank column in datagrid in firefox.

        Rock Star

        N 1 Reply Last reply
        0
        • R Rock Star

          There is no pace in the path I have given for the image. Problem is I can see the image in dadatgrid column in IE but not in the firefox. I just see the blank column in datagrid in firefox.

          Rock Star

          N Offline
          N Offline
          NeverHeardOfMe
          wrote on last edited by
          #4

          Rock Star. wrote:

          I just see the blank column in datagrid in firefox.

          Now do a right-click and choose "View page source" and see what is written to the column...

          R 1 Reply Last reply
          0
          • N NeverHeardOfMe

            Rock Star. wrote:

            I just see the blank column in datagrid in firefox.

            Now do a right-click and choose "View page source" and see what is written to the column...

            R Offline
            R Offline
            Rock Star
            wrote on last edited by
            #5

            Hi, It shows the path of the image and image name but it didnt show the image in a datagrid column in firefox.

            Rock Star

            N 1 Reply Last reply
            0
            • R Rock Star

              Hi, It shows the path of the image and image name but it didnt show the image in a datagrid column in firefox.

              Rock Star

              N Offline
              N Offline
              NeverHeardOfMe
              wrote on last edited by
              #6

              and if you copy/paste that exact path into the src property of a standard HTML img tag outside the datagrid, does it or does it not show in Firefox? Is this by any chance a jpg image that was produced on a Mac and you are displaying it on a PC, or vice versa? This can cause issues too. Open the file in an image manipulation program on your computer and save it again.

              R 1 Reply Last reply
              0
              • N NeverHeardOfMe

                and if you copy/paste that exact path into the src property of a standard HTML img tag outside the datagrid, does it or does it not show in Firefox? Is this by any chance a jpg image that was produced on a Mac and you are displaying it on a PC, or vice versa? This can cause issues too. Open the file in an image manipulation program on your computer and save it again.

                R Offline
                R Offline
                Rock Star
                wrote on last edited by
                #7

                Yes when I am copy/paste the entire path outside the datagris I can see the image. but not in datagrid. I dont think image produced on Mac is the issue. Because if it so I should't see any image in datagrid in IE. But I can see the images there but not in fire fox

                Rock Star

                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