Graceful Degradation AJAX

AJAX can improve site's appeal and give you chance to stretch your dollar a little further by serving more requests in same bandwidth. AJAX needs JavaScript and there are times when either user of your website has disabled JavaScript or have a device that doesn't support JavaScript. Although number of users with no JavaScript support are less but that doesn't mean we don't need their business.

Today, we will look at an example of Graceful Degradation of our web application which supports both AJAX and Non-AJAX usages.

Note: I am using ASP.NET MVC 3 but you can use any server side technology but it can be utilized with any server side technology with some minor changes. [More]

Tags: , , , ,

AJAX | jQuery | MVC

Call function in jQuery Template Expression with ASPNET MVC 2

jQuery Template helps a lot when it comes to bringing data back from server and present it in some kind of DOM element. I have found jQuery Template very easy to work with and with ASP.NET MVC it does wonders.

Today, we will work on how to call function inside template expression. [More]

Tags:

AJAX | ASP.NET | jQuery

Select, Update, Highlight using JSON, ASPNET WebService and jQuery

jQuery AJAX can improve application use and response drastically for various reasons as most of the time server is dealing with small segment of the page and producing results just for that segment, this way server can accept more requests. Select, insert, update are some of the very common tasks a data driven web application performs. With the use of AJAX these operations become more easy to handle.

Today we will look at how to bring data on page using JSON and then update it using JSON, all this with the help of ASP.NET web services and jQuery. [More]

Tags: , , , , ,

AJAX | ASP.NET | jQuery

Change Password using jQuery AJAX and ASP.NET web service

Few days ago, we received a request via comment on one of the post as how to change password on using AJAX so today we will see how we can accomplish this using jQuery AJAX to make a call to ASP.NET web service to change user's old password leveraging ASP.NET's membership API. [More]

Tags: , , , ,

AJAX | ASP.NET | jQuery

Ajaxify ASPNET page with jQuery and Page Method

Ajax provide greater flexibility and power to any website but sometime you may not want to create a separate ASMX file to provide functionality that you already have defined on your page's code behind file because you want to use it using Ajax and also as a fallback if JavaScript is disabled in some user's browser. In such situations, you can always take benefit of page methods defined in asp.net Ajax.

Today we will see how we can use a method from page's code behind file as web service method and call it using jQuery Ajax. [More]

Tags: , , , , ,

AJAX | ASP.NET | jQuery

Populate HTML table using jQuery Template, ASP.NET web service and jQuery ajax

jQuery template provide easy way to process json data. There are several places you can use this template to populate data by making ajax call to web services.

Today we will use jQuery template to populate HTML table by making ajax call to the ASP.NET web service. [More]

Tags: , , , ,

AJAX | ASP.NET | jQuery

Insert Data using JSON, ASP.NET Web services and jQuery

In previous post, we saw how to retrieve data from database in JSON and display in tabular format using jQuery AJAX.

Today we will look at how to create a form which will take input from user and insert it into the database using jQuery AJAX call. [More]

Tags: , , , ,

AJAX | ASP.NET | jQuery

JSON GridView/Table using jQuery AJAX and Web Service

We all know that how big page size can grow when we use data bound controls so in those cases using native HTML tags is quite helpful and can make your page much more responsive without compromising functionality on the page. [More]

Tags: , , ,

AJAX | ASP.NET | jQuery

User Authentication Using ASP.NET Membership Authentication Service and JQuery

Form Authentication provides a great feature to make AJAX calls to membership. This provide added benefit because you can use jQuery and CSS to build nice client side UI and still be able to leverage power of membership providers for user authentications and validations. Today we will implement User Authentication using JQuery and Membership Service (provided with Microsoft AJAX) to AJAXify our login page. Here is a quick look of final result: [More]

Tags: , , ,

AJAX | ASP.NET | jQuery | Membership

Tabular Data Using jQuery, ASP.NET Web Services and JSON

AJAX provides a powerful functionality to your page with a very light fingerprint. Today we will see how to transfer JSON data from ASP.NET asmx web service to web page and transform it in tabular format using jQuery AJAX call. Just to give you an idea, here is what our end result will look like: [More]

Tags: , , ,

AJAX | ASP.NET | jQuery