im getting "
0x800a1391 - JavaScript runtime error: 'PageMethods' is undefined
" error...
 
how to overcome this error...
 
home.aspx
---------------
 
<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="home.aspx.cs" Inherits="masterpage.home" %>

Say bye-bey to Postbacks.



home.aspx.cs
-------------------
namespace masterpage
{
public partial class home : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
public static string ProcessIT(string name, string address)
{
string result = "Welcome Mr. " + name + ". Your address is '" + address + "'.";
return result;
}
}
}
 
masterpage
--------------
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site1.master.cs" Inherits="masterpage.Site1" %>
c# corner
my layout

c# corner

    news

    copyright @c# corner