0x800a1391 – JavaScript runtime error: ‘PageMethods’ is undefined.


PageMethods requires enabling “EnablePageMethods” attribute to true in ScriptManager on your page.

<asp:ScriptManager EnablePageMethods="true" ID="ScriptManager1" runat="server"></asp:ScriptManager>