Ajax.NET bugfixes and new features

Michael Schwarz on Friday, May 13, 2005
Labels

I fixed several bugs in the last week. Because of internal complete redesign some objects like DataSet returned wrong to the client-side Javascript. Also some NullReferenceExceptions have been fixed. The proxy files are cached, now.

New features are supporting Bitmap as return value, new .getTable("name") on DataSets to get DataTables instead of the index usage, large data as request arguments (i.e. for contact form or forum), context for the client-side Javascript callback, full Unicode support, new IAjaxObjectConverters, arrays of integer and strings are supported as method arguments:

[Ajax.AjaxMethod] public string Test18(string[] s) { string r = ""; foreach(string ss in s) r += "<p>" + ss + "</p>\r\n";

return r; }

To download version 5.5.13.1 click here [1]. The online examples are updated and will replace the UsageGuide document later. You can download the online examples with full source code at http://ajax.schwarz-interactive.de [1]

The source code of the IAjaxObjectConverters will be placed on my web site in the next days. Currently in the download of the examples you will find a IAjaxObjectConverter for System.DateTime.

Updated: DataSets throw a StackOverflowException when using GUIDs. A workaround will be available here: http://weblogs.asp.net/mschwarz/archive/2005/06/02/410061.aspx [2] The bug is fixed in version 5.6.2.1.