Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > ADO.NET
| Search | Today's Posts | Mark Forums Read
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 11th, 2003, 09:45 AM
Authorized User
 
Join Date: Jun 2003
Location: Edinburgh, , United Kingdom.
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default Image problem for Mobile web application

Hi

I have a problem displaying an image on a mobile web application I have. The HTML is as follows :-

<mobile:Image id="Image1" runat="server" ImageUrl="~/Images/logo.gif" NavigateUrl="http://www.hp.com"></mobile:Image>

I have the correct directory set up and when I load the start up page the image is not displayed. Although when I click on it, it takes me to the 'NavigateUrl' correctly.

When I click on the properties for the image I see the following path :-

http://localhost/MobileEclipse/(p1hroziopqy0ce25h2q1d3fh)/Images/logo.gif

The page path is :-

http://localhost/MobileEclipse/(p1hroziopqy0ce25h2q1d3fh)/EntryScreen.aspx

Now this seems odd as
1) The part in brackets does not exist
2) The part in brackets is consistent
3) The part in brackets is different everytime the app is ran.

The odd things is too is that it works on a colleagues machine fine.

Very annoying but I cant seem to find out why it is not working on my machine.

I have tried the following amongst other things:-
1) Deleting the image path and image and adding it again under a different name and directory.
2) Stopping and starting the web service.
3) Rebooting
4) Chopping off my fingers.

I've ran out of ideas so any help would be grateful.

Thanks

Nickie
  #2 (permalink)  
Old July 11th, 2003, 09:58 AM
Authorized User
 
Join Date: Jun 2003
Location: Edinburgh, , United Kingdom.
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'll answer this myself.......

I added the following HTML and removed the mobile:image

<a href="http://www.hp.com" ><img src="../Images/logo.gif" border="0"> </a>

Pat on the back for me.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mobile Application in .Net x_ray General .NET 0 July 25th, 2007 04:02 AM
need suggestion in designing mobile application.. kawak_zx7 General .NET 2 August 16th, 2004 01:33 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.