Ajax.NET Wrapper with new features

I have added this night some features for the Ajax.NET Wrapper DLL:

- new utility to write needed script tags (Ajax.Utility.RegisterTypeForAjax(Type t))
- the common javascript will be added when one type is registered
- Ajax.Utility.HandlerPath and Ajax.Utility.HandlerExtension, web.config must be changed by hand!!

- fixed several bugs for DataSet and DataTable
- added exception handling
- fixed return value with more than one line, special chars removed
- removed the document.title change, the Ajax.NET Wrapper will be still free for everyone!!!

- C# sample is using Ajax.Utility
- VB.NET sample now using own classes

Download new Ajax.NET Wrapper DLL: http://ajax.schwarz-interactive.de/download/ajax.zip
Download C# and VB.NET samples: http://ajax.schwarz-interactive.de/download/ajaxsample.zip

I will upload a documentation (thanks to Karl) tomorrow morning. There will we a MSDN like overview of all the classes, too.

14 Comments

  • Michael Schwarz said

    It is working with Firefox on Windows! The only thing I did not see was that the button TAG will submit the form. I will change it to a different HTML, but the Ajax.NET Wrapper is working with Firefox, Mozilla and Internet Explorer.

    On Mac the Safari Browser is supported (I think). I do not have a Mac to test this.

  • Christoph said

    Hi Michael
    Yesterday, I had problems with the Wrapper. With the new version it's going fine. The Problem with the buttons do you know(preview entry)

    THANKS FOR THIS WRAPPER

    By
    Christoph

  • Michael Schwarz said

    @buk: there will be no fee at the moment for the Ajax.NET Wrapper DLL.

    @Christoph: I fixed some problems during the last night (11 until 4 o'clock!!!). What do you mean with the buttons problem? That Firefox issue? I will make a change to the solution this night...

    Yes, it is possible to "push" data from web server to the client. Currently I am working on something like events or delegates from Javascript clients. The client will iniciate a connection to the server. If the event occur on the server the result or a message will be send back. More tomorrow here on my blog!!!!

  • Christoph said

    Hy
    Yes, the Firefox issue.
    The 10 seconds was only an example. The setTimeout could be a solution. I'll wait until you've done the events/delegates.

    by
    Christoph

  • Andrew Cupper said

    This is really neat. It would be nice if you could extend the JavascriptMethod attribute to indicate if session state is required (like the web service WebMethod attribute). The PageHandlerFactory would need to check the attributes of the method being called and return a PageHandler marked with IRequiresSessionState if session state is required, (eg. PageWithSessionHandler which derives from PageHandler).

Comments have been disabled for this content.