Michael,

Just trying to do a simple ShowTime example.

Web.config
---------------
    <httpHandlers>
      <add verb="POST,GET" path="ajaxpro/*.ashx"
type="AjaxPro.AjaxHandlerFactory, AjaxPro"/>
    </httpHandlers>

ShowTime.aspx
---------------------
namespace AjaxProPrimer
{
        /// <summary>
        /// Summary description for ShowTime.
        /// </summary>
        public class ShowTime : System.Web.UI.Page
        {
                private void Page_Load(object sender, System.EventArgs e)
                {
            AjaxPro.Utility.RegisterTypeForAjax(typeof(ShowTime),
this.page);
        }

        [AjaxPro.AjaxMethod]
        public DateTime GetServerTime()
        {
            return DateTime.Now;
        }
        }
}

In the Utility class, the only method showing in 'View Object Browser'
is RegisterConverterForAjax(...).

My environment:
AjaxPro v6.9.22.2
.Net 1.1

Thanks.

Steve


--~--~---------~--~----~------------~-------~--~----~
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/

Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---

Reply via email to