473,480 Members | 2,123 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Broken Links on Master Page

Hello,

I can't seem to place images on a master page. I placed the images in a
folder in Solutons Exploer and drag them onto the page, but get broken
links.

Thanks for any help and God Bless,

Mark A. Sam
Feb 20 '06 #1
2 1168
If you have this problem, open the page in Source and as
runat="server" to the image tag

<img src="../Images/MasterTopPane.jpg" runat="server"/><br />


Feb 20 '06 #2
Be advised when we use runat="server" we can now use the Root Path Operator
which will parse the path anywhere it is located within the application
root...

<img src="~/Images/MasterTopPane.jpg" runat="server"/>
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/
"Mark A. Sam" <ms**@Plan-It-Earth.Net> wrote in message
news:Oh**************@TK2MSFTNGP15.phx.gbl...
If you have this problem, open the page in Source and as
runat="server" to the image tag

<img src="../Images/MasterTopPane.jpg" runat="server"/><br />

Feb 21 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
1644
by: John at Free Design | last post by:
Thanks in advance for the help and let me know if this should be posted to another MSDN. I am developing a web-based application in VS.NET2003 using VB. When I insert a graphic into a project...
1
1852
by: talyabn | last post by:
Hi, I'm trying to invoke the 'Broken Hyperlinks' option in the FrontPage application. The problem is that I get all the links in a given HTML page instead of getting only the broken links. ...
2
1867
by: Steve Franks | last post by:
I am familiar with the fact that you have to use runat=server and links staring with "~/" to ensure proper mapping of paths to relative URLs when using master pages. However this does not seem to...
28
3118
by: Craig Cockburn | last post by:
I have a tool which tells me the number of times that visitors attempt to access a link from my site to an external site and what the response code received was. In the event of the remote site...
3
1395
by: Brett Baisley | last post by:
Hello, I am having trouble figuring out URL's from my master page. Here is my setup. I have a default.aspx and default.master file in the root folder. I have an "images" folder with logos and...
0
1004
by: Learner | last post by:
Hello, we are using Master Pages in asp.net 2.0. Our Master page has three contentplaceholders. On the left most ContentPlaceHolder we have all the links for the navigation of the site. One of the...
2
1584
by: vbgunz | last post by:
Hello! this is the main error: http://img406.imageshack.us/img406/5218/screenshotxchmerror1ae.png navigation link images broken here:...
3
1185
by: Samuel Shulman | last post by:
Since the master page is used in pages located in many folders how can I add relative links to the master page? Thank you, Samuel
3
1357
by: SAL | last post by:
I know there are probably some posts on this but I can't find any at the moment. I'm using VS 2005 on XP sp2. I'm using a master page and I have an image that I need to show but the path...
0
7048
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6911
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7050
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7091
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6743
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5344
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
2999
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1303
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
564
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.