Catch broken Image url - c#

Discussion in 'C Programming' started by eithan, Nov 14, 2008.

  1. eithan

    eithan

    Joined:
    Nov 13, 2008
    Messages:
    1
    Hello helpers,
    I have an asp image controls pointing to a URLs on a remote site that I have no control of. It's possible that one of my pictures point to a picture that does not exist. I would like to catch this with c# code behind and display some text or whatever.

    I have searched the forums for this and found someone trying to solve it in VB. I couldn't make it work, maybe because i use C# and know little of VB.

    Thanks, Eithan.
     
    eithan, Nov 14, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John Black
    Replies:
    8
    Views:
    4,182
    Xenos
    Aug 20, 2004
  2. Steven D'Aprano

    Why are "broken iterators" broken?

    Steven D'Aprano, Sep 21, 2008, in forum: Python
    Replies:
    8
    Views:
    674
  3. Cameron Simpson

    Re: Why are "broken iterators" broken?

    Cameron Simpson, Sep 22, 2008, in forum: Python
    Replies:
    0
    Views:
    600
    Cameron Simpson
    Sep 22, 2008
  4. Fredrik Lundh

    Re: Why are "broken iterators" broken?

    Fredrik Lundh, Sep 22, 2008, in forum: Python
    Replies:
    0
    Views:
    619
    Fredrik Lundh
    Sep 22, 2008
  5. Garrett Smith

    Catch Block Scope, Broken Different in IE9pr3

    Garrett Smith, Jul 12, 2010, in forum: Javascript
    Replies:
    3
    Views:
    128
    Garrett Smith
    Jul 12, 2010
Loading...

Share This Page