Hi m using ASp.Net Url Re-writing
when m using this i il get url like this
http://localhost:10869/Customer
but webmethod wont call
$.ajax({
type: 'POST',
contentType: "application/json; charset=utf-8",
url: 'CustomerMaster.aspx/InsertMethod',---Here How to call webmethod,its wont called when m using asp.net url rewriting
data: "{'FirstName':'" + $('#<%=txt_FirstName.ClientID%>').val()'}",
async: false,
success: function (response) {
}
});
[WebMethod]
public static string(String FirstName)
{
return "";
}
Thank you
<div></div>