This blog will have all kinds of posts about Wally McClure. In it, there will be tons of .NET and computer programming posts as well as Wally's views on life in general. As you might guess, this site and blog help you get More Wally in your life. What more could anyone want? .NET, ADO.NET, ASP.NET, AJAX, Atlas, Microsoft AJAX Library, ASP.NET 2.0 AJAX Extensions, ............
ASP.NET AJAX Futures ListView
If you are playing with the ASP.NETAJAX Futures ListView, one of the things that seems to be missing is an automated mechanism to change the input data to the correct format. How do you get the returned data to the correct format? Your OnCompletion method should look something like this:
function OnCompletion(results)
{
var searchResults = $get("DataResults");
var table = Sys.Preview.Data.DataTable.parseFromJson(results);
searchResults.control.set_data(table);
}
Note the call to Sys.Preview.Data.DataTable.parseFromJson();
About wallym
Wallace B. (Wally) McClure
INETA Speaker's Bureau
Microsoft MVP
ASPInsider
Co-author of "Beginning AJAX with ASP.NET"
Co-author of "Professional ADO.NET Programming"
Co-author of "Building Highly Scalable Database Applications with .NET"
Master's Degree in Electrical Engineering from Georgia Tech
Bachelor's Degree in Electrical Engineering from Georgia Tech