DOCTYPE html PUBLIC W3C DTD XHTML Strict EN http www w3 org TR xhtml1

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
<!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>