We just extended RadGrid for ASP.NET AJAX with native client-side data binding to ADO.NET DataServices. Now you can use getDataServiceQuery() method and the grid will construct ADO.NET DataService style query:

var northwindService = new Sys.Data.DataService("NorthwindDataService.svc");
var tableView = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
northwindService.query(tableView.getDataServiceQuery("Customers"), updateGrid);

All operations like paging, sorting and filtering are automatically persisted using $top, $skip, $orderby and $filter parameters!

Untitled

Untitled2

Download


About the Author

Vladimir Enchev

is Director of Engineering, Native Mobile UI & Frameworks

Comments