ASP.NET Image Control

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

    ASP.NET Image Control

    I am building a site with ASP.NET that has a page with an image
    control. The ImageURL is set in code by evaluating the value of a
    query string that passes a file name for the image control. There is a
    folder with over 3,000+ jpg's that we attempt to get the image from -
    most are there but some are not - if the image for this particular
    search is not present we want to detect that - not by doing a
    presearch but by detecting somehow that the Image Control has no
    active image - like whateve fires the alternate text event. Can anyone
    help with this - how can we detect this and point the ImageURL to a
    default jpg when to one we are looking for is not found?

    Thank You
Working...