How to call web services in asp.net ajax

Calling WebService in ASP.NET AJAX need to create a ServiceReference using ScriptManager>Services and using ScriptReference tag. <asp:ScriptManager runat="server" ID="SM1"> <Services> <asp:ServiceReference Path="MathService.asmx" /> </Services> </asp:ScriptManager> Here it is assumed that you have created a MathService.asmx web service. Note that when you create a web service in ASP.NET, it by default writes following attribute. /// <summary> […]
Continue reading…

Enjoyed this post? Share it!

 
 

How to maintain the history (back and forward button) in the browser?

.NET Framework 3.5 with SP1 onwards, ASP.NET AJAX gives us ability to maintain the history of the browser when we perform certain action. This is done by setting the EnableHistory property to “true” and adding the OnNavigate event handler.
Continue reading…

Enjoyed this post? Share it!