ASP.NET and image

Discussion in 'ASP .Net Mobile' started by Sara T., May 4, 2004.

  1. Sara T.

    Sara T. Guest

    I use ImageControl to display on mobile byusing wml1.1 as following
    setting:

    Image1.ImageURL = "c:\inetpub\wwwroot\mytest\test.wbmp"

    It looks correctly in design mode but when running in mobile or opera with
    support wml, it disappears.

    What's wrong ?
     
    Sara T., May 4, 2004
    #1
    1. Advertising

  2. Hi Sara,

    Try changing your absolute path to a URL. Something like:

    Image1.ImageURL = "http://localhost/mytest/test.wbmp"

    Assuming that your web server is running on port 80.
    I hope this information is helpful.

    Thanks,
    Jean-Luc David
    Microsoft .NET MVP

    http://www.stormpixel.com
    http://www.mobilecoder.net

    ------------------------------------------------------------------------
    "Sara T." <>
    > I use ImageControl to display on mobile by using wml1.1 as following
    > setting:
    >
    > Image1.ImageURL = "c:\inetpub\wwwroot\mytest\test.wbmp"
    >
    > It looks correctly in design mode but when running in mobile or opera
    > with support wml, it disappears.
    >
    > What's wrong ?
     
    Jean-Luc David [MS-MVP], May 4, 2004
    #2
    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. =?Utf-8?B?SlA=?=
    Replies:
    1
    Views:
    7,334
    Steve C. Orr [MVP, MCSD]
    Aug 10, 2005
  2. Laszlo Zsolt Nagy
    Replies:
    1
    Views:
    1,432
    Kartic
    Jan 26, 2005
  3. Paul Cheetham

    Default image in asp:image control

    Paul Cheetham, Jan 27, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    492
    Paul Cheetham
    Jan 28, 2007
  4. =?Utf-8?B?TWlybw==?=

    Refresh image in asp:Image-control

    =?Utf-8?B?TWlybw==?=, Feb 27, 2007, in forum: ASP .Net
    Replies:
    6
    Views:
    803
    Joerg Jooss
    Feb 27, 2007
  5. Amelyan
    Replies:
    2
    Views:
    199
    Amelyan
    Apr 25, 2005
Loading...

Share This Page