Kendo Server Filtering

Share

If you want to enable Server Filtering on Kendo Grid, first step is to tell Kendo that you want to enable that functionality because, by default, the data source performs filtering on client side. var dataSource = new kendo.data.DataSource({ transport: { read: function (options) { var filter = options.data.filter; /* send the filter to the […]

Share
Tags:       

Cross-domain AJAX calls

Share

In these days all web2.0 apps make use of AJAX to save bandwidth, user time or to display data without refreshing the page. When you make an AJAX request the response could be plain text, Html or JSON, but if you want to make a cross-domain AJAX call you can’t because the browser security model dictates that XMLHttpRequest must have the same domain in order to communicate. This is where you need to use JSONP, this technique will make the AJAX call and after will inject the response in a script tag and will pass the data to a specified function.
Some JavaScript Libraries help you dealing with JSONP and in this article I will show you how to make cross-domain AJAX calls with MooTools and jQuery.

Share
Tags:     

AJAX – increase your web speed

Share

AJAX (Asynchronous JavaScript and XML.) is not a new programming language, but a new way to use existing standards. AJAX’s intention is to make web pages become faster and therefore more accepted, by doing background exchange of some small amounts of data with the server, in order to avoid the page to be reloaded on […]

Share
Tags: