Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Asp.Net Url Re-Writing

$
0
0

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>

Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>