Click here to Skip to main content
15,889,813 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Need of asp.net code for offered courses Pin
shreekar27-Mar-12 9:37
shreekar27-Mar-12 9:37 
Questionmaster page problem Pin
Elham M23-Mar-12 7:24
Elham M23-Mar-12 7:24 
AnswerRe: master page problem Pin
Dalek Dave23-Mar-12 14:08
professionalDalek Dave23-Mar-12 14:08 
GeneralRe: master page problem Pin
Elham M28-Mar-12 23:54
Elham M28-Mar-12 23:54 
GeneralRe: master page problem Pin
Dalek Dave29-Mar-12 0:38
professionalDalek Dave29-Mar-12 0:38 
AnswerRe: master page problem Pin
Anudeep Jaiswal - MCA28-Mar-12 23:01
Anudeep Jaiswal - MCA28-Mar-12 23:01 
GeneralRe: master page problem Pin
Elham M29-Mar-12 0:20
Elham M29-Mar-12 0:20 
QuestionPage not found Pin
Dalek Dave23-Mar-12 4:29
professionalDalek Dave23-Mar-12 4:29 
I have a webpage Here[^].

It is just a holding page until I sort out a proper design.

However...

Clicking on the links merely gives an error.

Within the FTP site I have a sub directory called httpdocs, wherein I dump my stuff.
My site consists of several directories and several pages.

In the Shared folder I have my Layout.cshtml page that looks like this:
HTML
<!DOCTYPE html>
<html>
<head>
<link href="Shared/Site.css" rel="stylesheet" type="text/css" />
</head>
<body>
<ul id="menu">
<li><a href="default.cshtml">Home</a></li>
<li><a href="About.cshtml">About Us</a></li>
<li><a href="Gallery.cshtml">Gallery</a></li>
<li><a href="ForSale.cshtml">For Sale</a></li>
<li><a href="Contact.html">Contact</a></li>
</ul>
<div width=1200px align="center" bgcolor="#5C7E99"> <img src="/Images/bellcrossheaderimage.jpg"/> </div>
<div id="main" bgcolor="#000066">
<div class="mainbody">
@RenderBody()
<div class="copyright"><p>© 2012 Bellcross Homes.</p></div>
</div>
</div>
</body>
</html>


In the main part I have my default.cshtml page that looks like this:

Razor
@{Layout="Shared/Layout.cshtml";}


<h1>Welcome to Bellcross Homes Website</h1>

<h2>Web Site Main Ingredients</h2>

<p>A Home Page (Default.cshtml)</p>
<p>A Layout File (Layout.cshtml)</p>
<p>A Style Sheet (Site.css)</p>


As you see, on load it goes to the defau;t page and loads it, pulling the layout from a secondary page.
This works fine.

However, the links don't work.

If you go to the actual web page online and look at the source code it appears different, as it has been interperated.

(Incidentally, there is a rather amusing message when you look at the source code of the error page).

Are my paths correct?
Am I dim?
Have I missed the bleedin' obvious?
---------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

CCC Link[^]

English League Tables - Live

AnswerRe: Page not found Pin
Not Active23-Mar-12 6:43
mentorNot Active23-Mar-12 6:43 
GeneralRe: Page not found Pin
Dalek Dave23-Mar-12 6:50
professionalDalek Dave23-Mar-12 6:50 
GeneralRe: Page not found Pin
Not Active23-Mar-12 6:58
mentorNot Active23-Mar-12 6:58 
GeneralRe: Page not found Pin
Dalek Dave23-Mar-12 7:04
professionalDalek Dave23-Mar-12 7:04 
QuestionASP.NET AUDIO Pin
ashok kumar kalbhor22-Mar-12 22:00
ashok kumar kalbhor22-Mar-12 22:00 
AnswerRe: ASP.NET AUDIO Pin
R. Giskard Reventlov23-Mar-12 6:52
R. Giskard Reventlov23-Mar-12 6:52 
AnswerRe: ASP.NET AUDIO Pin
Anudeep Jaiswal - MCA28-Mar-12 23:03
Anudeep Jaiswal - MCA28-Mar-12 23:03 
QuestionRequired Solution(asp.net) Pin
md.nezamuddin198322-Mar-12 21:22
md.nezamuddin198322-Mar-12 21:22 
AnswerRe: Required Solution(asp.net) Pin
ZurdoDev30-Mar-12 4:34
professionalZurdoDev30-Mar-12 4:34 
Questionmail application Pin
piya1822-Mar-12 7:59
piya1822-Mar-12 7:59 
AnswerRe: mail application Pin
Not Active22-Mar-12 8:25
mentorNot Active22-Mar-12 8:25 
AnswerRe: mail application Pin
R. Giskard Reventlov22-Mar-12 8:47
R. Giskard Reventlov22-Mar-12 8:47 
QuestionWhat does framework means ? What is .NET, ASP.NET? Pin
KumarArunR21-Mar-12 21:13
KumarArunR21-Mar-12 21:13 
AnswerRe: What does framework means ? What is .NET, ASP.NET? Pin
manivinof521-Mar-12 22:18
manivinof521-Mar-12 22:18 
GeneralRe: What does framework means ? What is .NET, ASP.NET? Pin
KumarArunR22-Mar-12 4:41
KumarArunR22-Mar-12 4:41 
AnswerRe: What does framework means ? What is .NET, ASP.NET? Pin
R. Giskard Reventlov22-Mar-12 8:48
R. Giskard Reventlov22-Mar-12 8:48 
QuestionCKEditor Filemanager is not displaying in FF 11and FF 12 in MAC OS Pin
krunal1986 00721-Mar-12 18:54
krunal1986 00721-Mar-12 18:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.