Ajax.NET - new version available (5.5.8.1)

Sorry for the delay on my current release, but the new version is available, now!!

A nice new feature is to add a context to your callback. When you want to update several HTML elements (i.e. the innerHTML property), but you don't want to add a callback handler for each one you can add a context to the call, now. See the new example at http://ajax.schwarz-interactive.de/csharpsample/default.aspx.

Some developers asked for having the common Ajax.NET Javascript file as an external file. This is not nice for distribution. I added a new web.config setting where you can configure your own ajax.js. Also, I added tracing support to my handler. I will add more detailed information later.

The DLL is now a strong named DLL, it can be placed in the global assembly cache. You can add the httpHandlers section to your machine.config to have the Ajax.NET library available in all of you web projects.

I added Pocket PC (Windows Mobile PC) support, but on Pocket PCs there is not so much DOM support to modify HTML elements on the fly, but perhaps you can use it to send form data to the server.

Using special chars (like the Norwegian) didn't work in the last release. I fixed this, please tell me if there are still chars not working!

To download the latest Ajax.NET library click here: http://ajax.schwarz-interactive.de/download/Ajax.zip

Published Monday, May 09, 2005 5:04 PM by Michael Schwarz

Comments

# re: Ajax.NET - new version available (5.5.8.1)

Monday, May 09, 2005 11:18 AM by Marc
Great software, working fine!!!! THANKS... What is your next step for next release? Do you have a road map?

# re: Ajax.NET - new version available (5.5.8.1)

Monday, May 09, 2005 11:21 AM by Palo Reims
Michael, thanks for supporting strong named assemblies. Now I can add it to my hosting server for all of my customers. They will love it...!

# re: Ajax.NET - new version available (5.5.8.1)

Monday, May 09, 2005 11:24 AM by Mauro
I asking you if there will be any change if using ASP.NET 2.0 beta. Can we be sure to use it with the next framework also?

# re: Ajax.NET - new version available (5.5.8.1)

Monday, May 09, 2005 11:29 AM by Michael Schwarz
@Mauro: A friend did a test on the ASP.NET 2.0 Framework and it was working. I will do a test next time.

# re: Ajax.NET - new version available (5.5.8.1)

Monday, May 09, 2005 11:43 AM by Ajax Blogger
Hi Michael, I added your link to our link database. Can you give me an idea what we can do with your software?

# re: Ajax.NET - new version available (5.5.8.1)

Monday, May 09, 2005 12:15 PM by Michael Schwarz
@Ajax Blogger: please use your real name... Ajax.NET will give you the possibility to build fast reacting websites with no big source code change. Mark the methods you want to call from the client-side with an attribute, that's it! See my examples at http://ajax.schwarz-interactive.de.

# re: Ajax.NET - new version available (5.5.8.1)

Monday, May 09, 2005 3:45 PM by scott e
Hi Michael,
I have noticed a problem with the new .dll -- only simple types work now. An error gets thrown 'Syntax Error: ; required'. I noticed sending back an arraylist, it doesn't work, but the value has the name of my vb class... weird. The class has only simple types and a DateTime. All of this worked well with the last version, though...

thanks-
se

# Link Dump - 3

Monday, May 09, 2005 4:44 PM by TrackBack
Link Dump - 3

# re: Ajax.NET - new version available (5.5.8.1)

Monday, May 09, 2005 5:42 PM by Michael Schwarz
@Scott: can you send me the source code of the class you are returning?

# re: Ajax.NET - new version available (5.5.8.1)

Monday, May 09, 2005 7:47 PM by Arthur Strutzenberg
One word: AWESOME

Just out of curiosity, I would like to use your implementation of the AJAX with a commercial application.

What sort of licensing do you plan to use for this?

--Arthur Strutzenberg

# re: Ajax.NET - new version available (5.5.8.1)

Tuesday, May 10, 2005 1:00 AM by Michael Schwarz
@Arthur: There is no real license. This is a project for one of my private web sites. I am also using this library at work and for some web sites for my dad. You can use it in any project...

# re: Ajax.NET - new version available (5.5.8.1)

Tuesday, May 10, 2005 1:08 AM by Como fazer um currículo
Will be great if you open the source of this wonderful component. Then other people could help to make it even better.

Congratulations

# re: Ajax.NET - new version available (5.5.8.1)

Tuesday, May 10, 2005 1:38 AM by ashish
it is working fine but

when i post back it remove all data pl.help

# re: Ajax.NET - new version available (5.5.8.1)

Tuesday, May 10, 2005 1:46 AM by ashish
can i use ajax in custom control if yes how?

# re: Ajax.NET - new version available (5.5.8.1)

Tuesday, May 10, 2005 4:28 AM by Anders Wåglund
Hi Michael,
this component is great! But I do have some problems when returning custom classes - it just doesn't work.
I tried to add:
public class MyClass
{
public string Test;
}

[Ajax.AjaxMethod]
public MyClass GetClass()
{
MyClass c = new MyClass();
c.Test="Testing testing";
return c;
}
to Methods.cs and then accessing this with:
function doGetClass(){
DemoMethods.GetClass(callback_doGetClass);
}
function callback_doGetClass(res){
alert(res.value);
}

but I only get "CSharpSample.DemoMethods+MyClass" as the value. Could you please make an example of using custom classes on the sample page?
Thank you

# re: Ajax.NET - new version available (5.5.8.1)

Tuesday, May 10, 2005 4:49 AM by Michael Schwarz
Please check version 5.5.10.1 available at http://ajax.schwarz-interactive.de