|
I think I responded to the wrong message, apologies!
---------------------------------
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
|
|
|
|
|
Unable to understand
|
|
|
|
|
It's a bit difficult to explain my problem,I have a text box in master page, in one of my content page I use login control, in firefox if I chose remember me and login in another of my content page I use change password control, then if I load this page in to change password, the password was written in text box of master page Why?please help me it's very necessary
Thanks.
|
|
|
|
|
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:
<!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:
@{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
|
|
|
|
|
Dalek Dave wrote: Incidentally, there is a rather amusing message when you look at the source code of the error page
Nice trick to get us to look
I'm not clear on your problem though. Is it the Not Found errors or the the Home and About not being displayed with the layout as in the default page?
Failure is not an option; it's the default selection.
|
|
|
|
|
Apologies.
Not a trick.
There was a message and the view source came up with a whole load of padding explaining that short error message were not shown and that padding was needed.
It went on for 20 odd lines!
However, the problem has no changed.
I can navigate, finally.
However the Layout.cshtml is not rendering the required result.
So now you see the content, but only as bare bones except for a little html (font size).
It should hold the same as when you first visit the site ie blue with pics etc.
I am not sure what is going wrong/
---------------------------------
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
|
|
|
|
|
Although having the layouts in a shared folder they should be picked up, but since the pages are in a sub-folder there may be an issue. Try moving one of the pages to the same location as your default and try. Unfortunately I'm not as familiar with Razor as with MVC.
Failure is not an option; it's the default selection.
|
|
|
|
|
Thanks Mark, I shall give it a go.
(Although not now, I am out of here for the weekend!)
---------------------------------
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
|
|
|
|
|
I am developing a project in ASP.Net and i want add a button by which a message can be played. i am using c# how is this done please tell me?????
|
|
|
|
|
Start here[^].
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Use These Methods
public static void CreateMessageAlert(System.Web.UI.Page senderpage, string alertMsg)
{
string alertKey = "alertKey";
string strScript;
strScript = "<script language=JavaScript>alert('" + alertMsg + "')</script>";
if (!senderpage.IsStartupScriptRegistered(alertKey))
{
senderpage.RegisterStartupScript(alertKey, strScript);
}
}
public static void AlertOnAjaxPage(System.Web.UI.Page SenderPageName, string PanelName, string Message)
{
System.Web.UI.UpdatePanel u = (UpdatePanel)((ContentPlaceHolder)((MasterPage)SenderPageName.Master).FindControl("ContentPlaceHolder1")).FindControl(PanelName);
System.Web.UI.ScriptManager.RegisterClientScriptBlock(u, u.GetType(), "Alert", "alert('" + Message + "') ", true);
}
|
|
|
|
|
I want to store session value in my own database how can store whenever user click on seach button the value will be store in database can u tell me anybody its urgent
|
|
|
|
|
What session value? Any session value? Just write code to stores Session["whatever"] into the db.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
how to create a full mail application in asp.net (vb)
|
|
|
|
|
That is a very broad question. Try narrowing it down a bit. Do you have written requirements? If not, start there.
Failure is not an option; it's the default selection.
|
|
|
|
|
Start here[^].
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
What does framework means ? What is .NET, ASP.NET?
|
|
|
|
|
Framework is nothing but it's a platform where we can run multiple languages in a single environment..
ASP.NET :
By using .NET framework we can create Windows application and Web application and Console Application etc..
The Vital role of ASP.NET is used to create Web Application...
|
|
|
|
|
Hi mani,
Is .Net is one of the framework ? If so, please name any other frameworks. what are the difference between .NET and other frameworks?
Thanks for your reply.
|
|
|
|
|
Start here[^].
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Hi all,
I am using CKEditor in my applications. when i try to upload any files in CKEditor it doesn't displays Filemanager to upload/delete/cancel file in FF 11 and FF 12 in MAC OS. but if i click on place where "UPLOAD" button is placed though it is not displaying, then it displays pop up and allow me to upload file and in MAC machine i have tried this thing i got these HTTP Error: status code 407. I/O Error #2038.
It works fine on other OS and previous version of FF But main problem is that Filemanager is not displaying in FF 11 and FF 12 in MAC OS.
Please give some needful solution.
Thanks,
KK
|
|
|
|
|
Hello, I am beginner in. Net and I want a management application in ASP Razor MVC3
|
|
|
|
|
Are you looking to design one, or for a completed one? And management application for what specificly?
|
|
|
|
|
I'm looking for exactly an example of application management in ASP MVC3 Razor, model manipulation, DropDown apartir emplissade of the base .
|
|
|
|
|
I want an application source code employees management in ASP Razor MVC3
|
|
|
|