1st Image Control Shows Wrong Image

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rmk

    1st Image Control Shows Wrong Image

    In my asp.net application I have a local report with an image control in the
    detail row of the table and the Value attribute set as

    ="File://" & Fields!FQPhotoF ileName.Value

    The first row in the table always shows the wrong image and it's always the
    same wrong image. The problem is there even when I change the sort order or
    the criteria for the underlying dataset. For example, I ran a small test
    that populated the dataset with 2 rows and 2 images. When I sort by any
    column (e.g. ID) in ascending ascending order the ID=1 row (the 1st row)
    shows the wrong image and the ID=2 row shows the correct image. When I rerun
    the report sorting in descending order the ID=2 row (which is now the 1st
    row) shows the wrong image and the ID=1 shows the correct image.

    Any suggestions?


  • Erland Sommarskog

    #2
    Re: 1st Image Control Shows Wrong Image

    rmk (kivimaki@swbel l.net) writes:
    In my asp.net application I have a local report with an image control in
    the detail row of the table and the Value attribute set as
    >
    >="File://" & Fields!FQPhotoF ileName.Value
    >
    The first row in the table always shows the wrong image and it's always
    the same wrong image. The problem is there even when I change the sort
    order or the criteria for the underlying dataset. For example, I ran a
    small test that populated the dataset with 2 rows and 2 images. When I
    sort by any column (e.g. ID) in ascending ascending order the ID=1 row
    (the 1st row) shows the wrong image and the ID=2 row shows the correct
    image. When I rerun the report sorting in descending order the ID=2 row
    (which is now the 1st row) shows the wrong image and the ID=1 shows the
    correct image.
    >
    Any suggestions?
    Are you absolutely sure that you are in the right newsgroup? I have no idea
    of what you are talking about...



    --
    Erland Sommarskog, SQL Server MVP, esquel@sommarsk og.se

    Books Online for SQL Server 2005 at

    Books Online for SQL Server 2000 at

    Comment

    Working...