cs source:
--------------------START-----------------------------
namespace AjaxWebApp
{
public partial class rbWcAjaxTest : PortalModuleControl
{
protected void Page_Load(object sender, EventArgs e)
{
AjaxPro.Utility.RegisterTypeForAjax(typeof(AjaxWebApp.rbWcAjaxTest),
Page);
lblText.Text = "Page_Load(Page) - WC AjaxTest version
2.0";
}
[AjaxPro.AjaxMethod]
public int GetLength(string s)
{
return s.Length;
}
........
}
}
--------------------END-----------------------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---