Click here to Skip to main content
13,250,883 members (52,484 online)
Rate this:
Please Sign up or sign in to vote.
See more:
In Master page contains images and Menu Bar .

i add child content i'm adding master page but images are not allowed.
Posted 28-Jan-13 2:16am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

write master page code and child code separately here
kumar2233 28-Jan-13 7:39am
master page code :

<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<td width="50%" height="91" align="left" valign="middle"><img src="../Images/logo.jpg" width="357" height="61" alt="logo"></td>
<td width="50%" align="left" valign="middle"><table width="382" border="0" align="right" cellpadding="0" cellspacing="0">
<td width="36" align="left" valign="bottom"><img src="../Images/Phone.png" width="25" height="17" alt="phone"></td>
<td width="346" align="left" valign="middle">

Toll Free No 1800 258 5678

<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server" >

i add new default page i attach master page. In this page images are not displayed in Default page [Child page].
AdityaPratapSingh 28-Jan-13 10:45am
<img> should end with />
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

1.img should end with />

2.change source of img control as "src="Images/logo.jpg".

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171114.1 | Last Updated 28 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100