I have a MasterPage.master in root folder and I have to use it in info.aspx file which is in another folder named secure.
Problem: In info.aspx page MasterPage.master's images are not visible but texts are visible. I am using this
This is Master Page codings.
<%@ Master Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <div> <strong><span style="font-size: 24pt">HEAD OF THE PAGE</span></strong><br /> <br /> <img src="images/Water%20lilies.jpg" style="width: 893px; height: 110px" /><br /> This is main banner of my website.<br /> <asp:contentplaceholder id="ContentPlaceHolder1" runat="server"> </asp:contentplaceholder> <br /> <br /> <strong><span style="font-size: 24pt">FOOTER OF THE PAGE</span></strong></div> </form> </body> </html>
|
This is info.aspx Page codings which is in another folder
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="info.aspx.vb" Inherits="secure_info" title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> This is my text of content. </asp:Content>
|
In above page images are not visible which is in master page.
This is information.aspx Page codings
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="information.aspx.vb" Inherits="information" title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> this is my text </asp:Content>
|
In above page, images are good, working cooool
Folder location on my PC
wwwroot/MasterPage.master
: (I have used images there in master page)
wwwroot/introduction.aspx
: (In this page master page working very good)
wwwroot/secure/info.aspx
: (In this page master page working but only images are not visible)
Please tell me, where and how I change in info.aspx page or else to fix image error.