Are you using the correct assembly AjaxPro.dll? Not the AjaxPro.JSON.dll!!!
Regards,
Michael
On 9/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> 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
>
>
> >
>
--
Best regards | Schöne Grüße
Michael
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
Skype: callto:schwarz-interactive
MSN IM: [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---