jQuery templates is a useful plugin developed by Microsofts's ASP.NET team in collaboration with jquery open source team. Templates helps you to manipulate the data at client side and display in browser. It is more useful to display the dataset that is fetched from database using client side Asynch Ajax call.
jQuery Template example
In order to...
Showing posts with label jQuery Ajax. Show all posts
Showing posts with label jQuery Ajax. Show all posts
jQuery call page codebehind method
In asp.net application sometimes we need to call codebehind method from
client script. In this post we will see how to call codebehind page method using
jquery ajax.
To call codebehind page method from jquery we...
jQuery ajax handle exception thrown by wcf
When we work with jQuery Ajax call to WCF, it may possible that WCF service will thow an exception. And we need to catch that exception in jquery ajax error routine. In order to show or get exception thrown by service we need to configure includeExceptionDetailInFaults="True" for in behavior like:
<serviceBehaviors>
<behavior name="">
...
Configure wcf service to call in jquery ajax json

In previous post we saw how to create wcf service to be get called by jquery ajax and json. After creating wcf service we need to configure wcf service in web.config in order to make it accessible.
Configure wcf service
<system.serviceModel> ...
Create wcf service to call by jquery ajax json

In this post we will see how to create wcf service in C# that we can call through jquery ajax and json. The namespaces we need in wcf service are System.ServiceModel, System.ServiceModel.Web and System.ServiceModel.Activation.
Example- WCF service...
jQuery Ajax call to WCF service

In jQuery we can perform an asynchronous HTTP (Ajax) request. In this post we will see simple example of how jquery Ajax call to WCF service works. We can call wcf service using jquery ajax and json.
We can use $.ajax to call the wcf service like:
...
jquery attribute selectors
How to Use jQuery Selectors?
jQuery has power of minimizing lines of code. jQuery would be the powerful tool for the DOM. jQuery is easy to select elements using selector engine, it’s easy syntax, which is based on the same syntax you would use...