ASP.NET and image

ASP.NET and image

Post by Sara T » Wed, 05 May 2004 13:05:05

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

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 ?


ASP.NET and image

Post by Jean-Luc D » Wed, 05 May 2004 20:39:11

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.

Jean-Luc David
Microsoft .NET MVP

"Sara T." < XXXX@XXXXX.COM >