Welcome to Comunidade Bloggers |create|it| Sign in | Join | Help

Raúl Ribeiro

Windows SharePoint Services 3.0 , .net, Microsoft Office SharePoint 2007, Office 2007 and 2010

News

Ajax.NET - A free library for the Microsoft .NET Framework

Asynchronous JavaScript with XmlHttpRequest - C# Example

Download the latest Ajax.dll (5.5.13.1) to use it for free in your web projects.

To learn more about AJAX, visit:
Wikipedia
A New Approach to Web Applications

To download this C# example click here.

There is a usage guide (will be updated in the next days) available for the first version of the free Ajax.NET:
AjaxGuide.doc
quickGuide.txt

Examples using the free Ajax.NET library

This example will post a form to the server, invoke the Test1 method there and return a HTML string.

On the server you will have a typical method with an additional attribute:

[Ajax.AjaxMethod]
public string Test1(string firstName, string familyName, string email, string comment)
{
  string html = "";
 
  html += "Hello " + firstName + " " + familyName + "
"; html += "Thank you for your comment "; html += System.Web.HttpUtility.HtmlEncode(comment); html += "."; return html; }
Posted: Tuesday, May 17, 2005 6:25 PM by rrr
Filed under: ,

Comments

No Comments

Anonymous comments are disabled