Solved Grid View Thumbnail images not visible in FireFox

Posted on 2009-02-16
Last Modified: 2012-05-06
I have an page with grid views, an example of which is shown here.  The first field in the grid is a template field, containing an image, the image url of which is bound to a field in the data source.

The image displays fine in IE7, but in FireFox, they are not there.  What am I doing wrong?
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" 

        AutoGenerateColumns="False" CssClass="grid" Width="790px" AllowSorting="True" 



            <asp:templatefield ShowHeader="False">


						<asp:Image ID="Grid1Thumb" runat="server" ImageUrl='<%# Eval("Thumb") %>' Width="50px" />


					<ItemStyle HorizontalAlign="Center" Width="60px" />


            <asp:ButtonField ButtonType="Button" Text="Cancel Lot" CommandName="cancellot">

            <ControlStyle CssClass="bmb" Height="20px" Width="60px" />

            <FooterStyle ForeColor="Black" />

            <ItemStyle Width="70px" />


            <asp:BoundField HeaderText="Lot Number" DataField="ID" SortExpression="ID">

            <ItemStyle HorizontalAlign="Center" Width="50px" />


            <asp:ButtonField AccessibleHeaderText="Title" HeaderText="Title" 

                ShowHeader="True" DataTextField="Title" SortExpression="Title" 


            <FooterStyle ForeColor="Black" />

            <HeaderStyle ForeColor="Black" />

            <ItemStyle HorizontalAlign="Left" ForeColor="Black" />


            <asp:BoundField HeaderText="Current Bid" DataField="CurrBid" 

                DataFormatString="{0:c}" SortExpression="CurrBid">

            <ItemStyle HorizontalAlign="Center" Width="75px" />


            <asp:BoundField HeaderText="End Date/Time" DataField="EndTime" 


            <ItemStyle HorizontalAlign="Center" Width="75px" />


            <asp:ButtonField HeaderText="Shopper Survey" ShowHeader="True" 

                DataTextField="Surveys" SortExpression="Surveys" CommandName="viewsurvey">

            <ItemStyle HorizontalAlign="Center" Width="50px" ForeColor="Black" />



        <FooterStyle ForeColor="Black" />

        <HeaderStyle CssClass="gridtitle" ForeColor="Black" />

        <AlternatingRowStyle CssClass="gridalt" />


Open in new window

Question by:kmerlo
    1 Comment
    LVL 12

    Accepted Solution

    May be try these.
    1. clear the browser cache
    2. see the source code of the firefox to see, if it has a backslash instead of a forward slash.
    3. check to see if Firefox shows spaces as %20 and \ as %5C , cause in IE it don't seem a problem.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
    A Change in PHP Behavior with Session Write Short Circuit ( (Winter 2014)** With the release of PHP 5.6 the session handler changed in a way that many think should be considered a bug.  See the note …
    This video teaches users how to migrate an existing Wordpress website to a new domain.
    Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now