Results 1 to 3 of 3

Thread: Problem Adding Picture To Table Control *RESOLVED* - ISH

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2000
    Location
    Chesterfield, UK
    Posts
    298

    Problem Adding Picture To Table Control *RESOLVED* - ISH

    I have a table control.
    I have the following code :

    VB Code:
    1. Dim hPic As New HyperLink()
    2.             Dim strExt As String = Right(fiTemp.Extension, 3)
    3.  
    4.              hPic.ImageUrl = "../images/" & strExt & ".png"
    5.  
    6.             Cell3.Controls.Add(hPic)   ' Add to cell

    When the page loads, I get a dialog box asking for a username and password for the secure site.

    This is weird. I haven't changed the authentication to my web server, it is just set as anonymous access.

    I don't have ssl enabled or any form of certificate.

    If I set the to .ImageUrl = "" Then everything runs fine.

    How bizarre.

    Just wondered if you had any ideas?

    Cheers,


    Matt
    Last edited by MattJH; Apr 30th, 2004 at 04:00 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width