Results 1 to 3 of 3

Thread: Problem with picture

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2005
    Posts
    36

    Problem with picture

    Hi
    I am a complete noob for ASP.net and i have a stupid question
    I can't display picture on my web site..

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
    Image1.ImageUrl = "/Images/index1.jpg"
    End Sub

    Please help me
    Thanks

  2. #2
    Frenzied Member Fishcake's Avatar
    Join Date
    Feb 2001
    Location
    Derby, UK
    Posts
    1,092

    Re: Problem with picture

    I can't see any reason why it doesn't work.

    1. Do you get any error or just no picture displayed?
    2. Are you resetting the image controls imageurl on pageload?
    3. Is the picture in the right location?

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Problem with picture

    When you view source of the page after it is displayed, what does it show as the URL for the image?

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