Breck,
Just had the same problem and got it running. For the call you need
Namespace.Class.GetServerTime....
For example, my web part I'm testing with has a namespace of AjaxTest
and the class inside is WebPart1. With this combination, the call would
be:
AjaxTest.WebPart1.GetServerTime()
I didn't have an parameters going to/from by procedure.
Hope that helps!
Andy.
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.11.53.63 with SMTP id b63mr89570cwa;
Sat, 20 May 2006 12:56:16 -0700 (PDT)
X-Google-Token: s-Qo4wwAAAB-XoJDIf0sRP2pgnXp09Ul
Received: from 66.161.180.149 by i40g2000cwc.googlegroups.com with HTTP;
Sat, 20 May 2006 19:56:16 +0000 (UTC)
From: "Waltzing Andy" <[EMAIL PROTECTED]>
To: "Ajax.NET Professional" <[email protected]>
Subject: Re: SharePoint WebPart Problem
Date: Sat, 20 May 2006 12:56:16 -0700
Message-ID: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.3)
Gecko/20060426 Firefox/1.5.0.3,gzip(gfe),gzip(gfe)
Mime-Version: 1.0
Content-Type: text/plain
Breck,
Just had the same problem and got it running. For the call you need
Namespace.Class.GetServerTime....
For example, my web part I'm testing with has a namespace of AjaxTest
and the class inside is WebPart1. With this combination, the call would
be:
AjaxTest.WebPart1.GetServerTime()
I didn't have an parameters going to/from by procedure.
Hope that helps!
Andy.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---