<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>
Home Page
</title>
<link href="/Content/Css/Site.css" rel="stylesheet" type="text/css" />
<script src="/Content/Scripts/MicrosoftAjax.js" type="text/javascript"> </script>
<script src="/Content/Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
function CheckInputValue() {
var searchString = document.getElementById("txtSearch").value;
if (searchString == null || searchString == "") {
document.getElementById("btnSearch").disabled = true;
}
else {
document.getElementById("btnSearch").disabled = false;
}
}
function ClearSearchTextBox() {
document.getElementById("txtSearch").value = "";
document.getElementById("btnSearch").disabled = true;
}
</script>
</head>
<body>
<div class="page">
<form action="/Search/Search" method="post">
<p>
</p>
<p>
<br /><br /><br />
<label for="Name">Text : </label>
<input id="txtSearch" name="Text" onkeyup="CheckInputValue()" text="" type="text" value="" />
<input type="submit" id="btnSearch" value="Search" disabled="disabled" onunload="ClearSearchTextBox()" /><br />
</p>
</form>
<div id="header">
<div id="title">
<h1>
My MVC Application</h1>
</div>
<div id="logindisplay">
Welcome <b>user</b>!
[ <a href="/Account/LogOff">Log Off</a> ]
</div>
<div id="menucontainer">
<ul id="menu">
<li>
<a href="/">Home</a></li>
<li>
<a href="/Home/About">About</a></li>
<li>
<a href="/Task/List">Tasks</a></li>
</ul>
</div>
</div>
<div id="main">
<h2>Welcome to ASP.NET MVC!</h2>
<p>
To learn more about ASP.NET MVC visit <a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc</a>.
</p>
<div id="footer">
Page generated :
11:14:57 AM
</div>
</div>
</div>
</body>
</html>