<%@ Page Language="
VB" AutoEventWireup="false" CodeFile="Test.aspx.
vb" Inherits="Default2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<script type ="text/javascript" language="javascript">
function sayHi() {
alert("Hi")}
</script>
<form id="form1" runat="server" >
<div>
<asp:TextBox ID="TextBox1" runat="server" Style="z-index: 100; left: 239px; position: absolute;
top: 44px" OnTextChanged ="sayHi();" AutoPostBack ="false" ></asp:TextBox>
<asp:Button ID="Button1" runat="server" Style="z-index: 101; left: 157px; position: absolute;
top: 47px" Text="Button" />
<asp:Button ID="Button2" runat="server" Style="z-index: 102; left: 67px; position: absolute;
top: 77px" Text="Button" />
<input id="Text1" style="z-index: 103; left: 0px; position: absolute; top: 0px" type="text" onclick="return Text1_onclick()" />
</div>
</form>
</body>
</html>
This is my asp page. after build i got this errors
Error 1 'sayHi' is not a member of 'ASP.test_aspx'. \\itserver\Final Latest\Asp Booking\Test.aspx 18
Error 2 Character is not valid. \\itserver\Final Latest\Asp Booking\Test.aspx 18
Whats wrong with me?
Thanks
S. Ramesh